码迷,mamicode.com
首页 >  
搜索关键字:leetcode解题报告    ( 67个结果
【Leetcode解题报告】快慢指针
Linked List Cycle、 Linked List Cycle II、 Remove Nth Node from End of List、 Intersection of Two Linked Lists ...
分类:其他好文   时间:2016-07-22 08:48:10    阅读次数:1332
【Leetcode解题报告】单链表结点删除相关问题
Remove Linked List Elements、 Remove Duplicates from Sorted List、 Remove Duplicates from Linked Sorted II、 Remove Nth Node from End of List、 Delete Nod... ...
分类:其他好文   时间:2016-07-19 23:37:06    阅读次数:347
【Leetcode解题报告】单链表结点位置调整
Reverse Linked List、Reverse Linked List II、Odd Even Linked List、Reorder List、Swap Nodes in Pairs、Reverse Node in k-Group ...
分类:其他好文   时间:2016-07-14 08:34:22    阅读次数:286
Leetcode 解题报告
338. Counting Bits --20160518 338. Counting Bits --20160518 Given a non negative integer number num. For every numbers i in the range 0 ≤ i ≤ num calc ...
分类:其他好文   时间:2016-05-18 12:12:00    阅读次数:143
LRU算法&&LeetCode解题报告
题目 Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations: get and set. get(key) - Get ...
分类:编程语言   时间:2016-03-27 09:40:35    阅读次数:229
LeetCode解题报告--Search for a Range
题目: Given a sorted array of integers, find the starting and ending position of a given target value. Your algorithm’s runtime complexity must be in the order of O(log n). If the target is not f...
分类:其他好文   时间:2015-12-04 14:53:12    阅读次数:228
LeetCode解题报告-- Count and Say
题目: The count-and-say sequence is the sequence of integers beginning as follows: 1, 11, 21, 1211, 111221, … 1 is read off as “one 1” or 11. 11 is read off as “two 1s” or 21. 21 is read...
分类:其他好文   时间:2015-12-03 15:39:01    阅读次数:185
LeetCode解题报告--Swap Nodes in Pairs
题目: 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...
分类:其他好文   时间:2015-10-17 12:16:08    阅读次数:179
LeetCode解题报告--3 Sum
题目: 3 个数和问题 Given an array S of n integers, are there elements a, b, c in S such that a + b + c = 0? Find all unique triplets in the array which gives the sum of zero.Note: Elements in a triplet (a,b...
分类:其他好文   时间:2015-08-16 18:25:29    阅读次数:173
LeetCode解题报告--3Sum Closest
题目:与3数和最接近的和 Given an array S of n integers, find three integers in S such that the sum is closest to a given number, target. Return the sum of the three integers. You may assume that each input would...
分类:其他好文   时间:2015-08-16 18:25:25    阅读次数:126
67条   上一页 1 2 3 4 ... 7 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!