E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
Singly
leetcode:Palindrome Linked List
Given a
singly
linked list, determine if it is a palindrome.
·
2015-07-17 17:00
LeetCode
leetcode:Delete Node in a Linked List
Write a function to delete a node (except the tail) in a
singly
linked list, given only access to that
·
2015-07-16 22:00
LeetCode
Reverse Linked List
Reverse a
singly
linked list. /** * Definition for
singly
-linked list.
hcx2013
·
2015-07-16 20:00
list
LeetCode#234 Palindrome Linked List
Problem Definition: Given a
singly
linked list, determine if it is a palindrome.
·
2015-07-15 19:00
LeetCode
LeetCode#237 Delete Node in a Linked List
Problem Definition: Write a function to delete a node (except the tail) in a
singly
linked list, given
·
2015-07-15 16:00
LeetCode
[LeetCode] Delete Node in a Linked List 删除链表的节点
Write a function to delete a node (except the tail) in a
singly
linked list, given only access
·
2015-07-15 10:00
LeetCode
Leetcode - Palindrome Linked List
Given a
singly
linked list, determine if it is a palindrome.
likesky3
·
2015-07-12 08:00
LeetCode
Sort List 分类: leetcode 算法 2015-07-10 15:35 1人阅读 评论(0) 收藏
我一开始的想法是借助quicksort的思想,代码如下: # time O(nlog(n)) # Definition for
singly
-linked list. class ListNode:
·
2015-07-10 15:00
LeetCode
[LeetCode] Palindrome Linked List
Since you cannot move from a node back to its previous node in a
singly
linked list, we choose to reverse
·
2015-07-10 13:00
LeetCode
[LeetCode] Palindrome Linked List 回文链表
Given a
singly
linked list, determine if it is a palindrome.
·
2015-07-10 12:00
LeetCode
[leetcode] Reverse Linked List 分类: leetcode 算法 2015-07-09 18:44 2人阅读 评论(0) 收藏
# Definition for
singly
-linked list. class ListNode: def __init__(self, x): self.val = x
·
2015-07-09 18:00
LeetCode
合并k个已排序的链表 分类: leetcode 算法 2015-07-09 17:43 3人阅读 评论(0) 收藏
class ListNode:# Definition for
singly
-linked list.
·
2015-07-09 17:00
LeetCode
leetcode:Reverse Linked List
Reverse a
singly
linked list.
·
2015-06-19 22:00
LeetCode
Merge k Sorted Lists
/** * Definition for
singly
-linked list. * public class ListNode { * int
hcx2013
·
2015-06-03 22:00
merge
Check If A
Singly
Linked List Is Palindrome
Givenasinglylinkedlistofcharacters,writeafunctionthatreturnstrueifthegivenlistispalindrome,elsefalse.METHOD1(UseaStack)Asimplesolutionistouseastackoflistnodes.Thismainlyinvolvesthreesteps.1) Traverset
yuanhisn
·
2015-05-28 09:00
Reorder List
Given a
singly
linked list L: L0→L1→…→Ln-1→Ln,reorder it to: L0→Ln→L1→Ln-1→L2→Ln-2→…
·
2015-05-23 20:00
order
Linked List Cycle
用时:60ms 1 /** 2 * Definition for
singly
-linked list. 3 * struc
·
2015-05-20 21:00
list
Leetcode - Reversed Linked List
Reverse a
singly
linked list. // method 1: 逐个节点逆转 public ListNode reverseList1(ListNode head) {
likesky3
·
2015-05-19 22:00
LeetCode
[LeetCode-JAVA] Reverse Linked List I && II
题目I: Reverse a
singly
linked list 思路:建立三个指针,一个用来维护链表头,另外两个再循环中,维护head的前一位和保存反转的后一位。
·
2015-05-19 20:00
LeetCode
Reverse Linked List****
Reverse a
singly
linked list. click to show more hints.
·
2015-05-08 23:00
list
[LeetCode] Reverse Linked List 倒置链表
Reverse a
singly
linked list. click to show more hints.
·
2015-05-05 12:00
LeetCode
一个简单的int型C++单链表的实现
IntSLList.h //************************ intSLList.h ************************** //
singly
-linked
·
2015-04-27 18:00
C++
Linked List Cycle
Given a linked list, determine if it has a cycle in it. 1 /** 2 * Definition for
singly
-linked
·
2015-04-17 16:00
list
Linklist and Stack
Q: Implement a stack using a
singly
linked list L. The run time of PUSH and POP should be O(1).
yuanhsh
·
2015-03-14 00:00
stack
Linklist and Stack
Q: Implement a stack using a
singly
linked list L. The run time of PUSH and POP should be O(1).
yuanhsh
·
2015-03-14 00:00
stack
Merge k Sorted Lists
/** * Definition for
singly
-linked list.
plan454
·
2015-03-12 19:00
java
[leetcode]Convert SortedList To Binary Search Tree - java 递归
递归构造二叉查找树 /** * Definition for
singly
-linked list.
blue2048
·
2015-03-11 17:00
LeetCode
[leetcode]Convert SortedList To Binary Search Tree - java 递归
递归构造二叉查找树 /** * Definition for
singly
-linked list.
blue2048
·
2015-03-11 17:00
LeetCode
[leetcode]Convert SortedList To Binary Search Tree - java 递归
递归构造二叉查找树 /** * Definition for
singly
-linked list.
blue2048
·
2015-03-11 17:00
LeetCode
[LeetCode] Convert Sorted List to Binary Search Tree 将有序链表转为二叉搜索树
Given a
singly
linked list where elements are sorted in ascending order, convert it to a height
·
2015-02-18 07:00
Binary search
LeetCode 109 - Convert Sorted List to Binary Search Tree
Given a
singly
linked list where elements are sorted in ascending order, convert it to a height balanced
yuanhsh
·
2015-02-06 14:00
BST
LeetCode 234 - Palindrome Linked List
Given a
singly
linked list of characters, write a function that returns true if the given list is palindrome
yuanhsh
·
2015-01-29 08:00
LeetCode
LeetCode 234 - Palindrome Linked List
Given a
singly
linked list of characters, write a function that returns true if the given list is palindrome
yuanhsh
·
2015-01-29 08:00
LeetCode
[LeetCode] Reorder List 链表重排序
Given a
singly
linked list L: L0→L1→…→Ln-1→Ln, reorder it to: L0→Ln→L1→Ln-1→L2→Ln-2→… You must
·
2015-01-28 07:00
LeetCode
链表反转
www.nowamagic.net/librarys/veda/detail/2241简单方法:http://www.cnblogs.com/pianoid/archive/2011/05/03/reverse-a-
singly
-linked-list.html
daniel-john
·
2015-01-27 14:00
LeetCode - Convert Sorted List to Binary Search Tree
Given a
singly
linked list where elements are sorted in ascending order, convert it to a height balanced
yuanhsh
·
2015-01-18 14:00
Binary search
Linked List {
singly
linked list -> doubly linked list -> circular linked list}
LinkedList单向链表Singlylinkedlist/********************************************************* Codewriter:EOF Codefile:single_linked_list.c Codedate:2015.01.15 e-mail:
[email protected]
Codedescription
u011368821
·
2015-01-15 16:00
[LeetCode]160 Intersection of Two Linked Lists
oj.leetcode.com/problemset/algorithms/http://www.cnblogs.com/yuzhangcmu/p/4128794.html/** * Definition for
singly
-linked
furuijie8679
·
2015-01-09 16:49
LeetCode
[LeetCode]148 Sort List
oj.leetcode.com/problems/sort-list/http://blog.csdn.net/linhuanmars/article/details/21133949/** * Definition for
singly
-linked
furuijie8679
·
2015-01-09 13:50
LeetCode
[LeetCode]148 Sort List
oj.leetcode.com/problems/sort-list/http://blog.csdn.net/linhuanmars/article/details/21133949/** * Definition for
singly
-linked
furuijie8679
·
2015-01-09 13:50
LeetCode
Interview
[LeetCode]147 Insertion Sort List
problems/insertion-sort-list/http://blog.csdn.net/linhuanmars/article/details/21144553/** * Definition for
singly
-linked
furuijie8679
·
2015-01-08 18:45
LeetCode
Interview
[LeetCode]147 Insertion Sort List
/insertion-sort-list/http://blog.csdn.net/linhuanmars/article/details/21144553/** * Definition for
singly
-linked
furuijie8679
·
2015-01-08 18:45
LeetCode
[LeetCode]143 Reorder List
problems/reorder-list/http://blog.csdn.net/linhuanmars/article/details/21503215/** * Definition for
singly
-linked
furuijie8679
·
2015-01-08 17:57
LeetCode
Interview
[LeetCode]143 Reorder List
problems/reorder-list/http://blog.csdn.net/linhuanmars/article/details/21503215/** * Definition for
singly
-linked
furuijie8679
·
2015-01-08 17:57
LeetCode
[LeetCode]142 Linked List Cycle II
linked-list-cycle-ii/http://blog.csdn.net/linhuanmars/article/details/21260943/** * Definition for
singly
-linked
furuijie8679
·
2015-01-08 17:42
LeetCode
[LeetCode]141 Linked List Cycle
problems/linked-list-cycle/http://blog.csdn.net/linhuanmars/article/details/21200601/** * Definition for
singly
-linked
furuijie8679
·
2015-01-08 17:45
LeetCode
[LeetCode]138 Copy List with Random Pointer
copy-list-with-random-pointer/http://blog.csdn.net/linhuanmars/article/details/22463599/** * Definition for
singly
-linked
furuijie8679
·
2015-01-08 17:40
LeetCode
[LeetCode]138 Copy List with Random Pointer
copy-list-with-random-pointer/http://blog.csdn.net/linhuanmars/article/details/22463599/** * Definition for
singly
-linked
furuijie8679
·
2015-01-08 17:40
LeetCode
Interview
[LeetCode]92 Reverse Linked List II
reverse-linked-list-ii/http://blog.csdn.net/linhuanmars/article/details/24613781/** * Definition for
singly
-linked
furuijie8679
·
2015-01-05 15:02
LeetCode
[LeetCode]86 Partition List
problems/partition-list/http://blog.csdn.net/linhuanmars/article/details/24446871/** * Definition for
singly
-linked
furuijie8679
·
2015-01-05 14:36
LeetCode
上一页
3
4
5
6
7
8
9
10
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他