码迷,mamicode.com
首页 >  
搜索关键字:palindrome linked li    ( 14538个结果
【leetcode】Copy List with Random Pointer
A linked list is given such that each node contains an additional random pointer which could point to any node in the list or null.Return a deep copy ...
分类:其他好文   时间:2014-05-19 15:50:28    阅读次数:447
CSS之li
第1章 学习HTML5 第2章 HTML5标记 第3章 HTML5插入图片 第4章 HTML5插入图片 1234 ...
分类:Web程序   时间:2014-05-19 15:42:42    阅读次数:291
LeetCode:Add Two Numbers
题目链接 You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a si...
分类:其他好文   时间:2014-05-19 13:53:32    阅读次数:296
javascript中通过className灵活查找元素 例如我们要把根据class来进行修改样式
原文:javascript中通过className灵活查找元素 例如我们要把根据class来进行修改样式一、背景:一个表单中,要修改一些li中有class=box的样式,将它的background设置为red红色。一般的做法是我们可以先找到父级元素 ,然后由父级元素找到所有相关tagName,最后,...
分类:编程语言   时间:2014-05-19 13:04:46    阅读次数:332
【LeetCode】Add Two Numbers
You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single ...
分类:其他好文   时间:2014-05-19 12:05:23    阅读次数:386
LeetCode: Remove Nth Node From End of List [019]
【题目】 Given a linked list, remove the nth node from the end of list and return its head. For example, Given linked list: 1->2->3->4->5, and n = 2. After removing the second node from the end, the linked list becomes 1->2->3->5. Note: Given n will ...
分类:其他好文   时间:2014-05-18 18:48:03    阅读次数:269
JQuery -> 超级简单的下拉菜单
用jquery实现的一个超级简单的下拉菜单。 效果图 初始效果 鼠标悬浮效果 代码 nav a { text-decoration: none; } nav > ul > li { float: left; text-align: center; padding: 0 0.5em; } nav li ul.sub-menu { ...
分类:Web程序   时间:2014-05-18 10:48:11    阅读次数:522
编写高质量代码改善java程序的151个建议——导航开篇
2014-05-16 09:08 by Jeff Li 前言   系列文章:[传送门]   下个星期度过这几天的奋战,会抓紧java的进阶学习。听过一句话,大哥说过,你一个月前的代码去看下,惨不忍睹是吧。确实,人和代码一样都在成长,都在变好当中。有时候只是实现功能的编程,长进不了呀。   博客提供的好处就可以交流,讨论的学习方法你们应该知道。...
分类:编程语言   时间:2014-05-18 10:29:49    阅读次数:289
LeetCode: Merge k Sorted Lists [022]
【题目】 Merge k sorted linked lists and return it as one sorted list. Analyze and describe its complexity. 【题意】 合并K个有序链表 【思路】 归并 Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses. For ...
分类:其他好文   时间:2014-05-18 09:05:40    阅读次数:255
LeetCode: Swap Nodes in Pairs [023]
【题目】 Given a linked list, swap every two adjacent nodes and return its head. For example, Given 1->2->3->4, you should return the list as 2->1->4->3. Your algorithm should use only constant space. You may not modify the values in the list, only nodes it...
分类:其他好文   时间:2014-05-18 08:37:57    阅读次数:370
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!