Given a linked list and a value x, partition it such that all nodes less than x come before nodes greater than or equal to x. You should preserve the ...
分类:
其他好文 时间:
2016-07-03 08:12:53
阅读次数:
130
Given an unsorted array return whether an increasing subsequence of length 3 exists or not in the array. Formally the function should: Your algorithm ...
分类:
其他好文 时间:
2016-07-03 08:12:13
阅读次数:
128
Merge two sorted (ascending) linked lists and return it as a new sorted list. The new sorted list should be made by splicing together the nodes of the ...
分类:
其他好文 时间:
2016-07-03 07:02:32
阅读次数:
131
Cumulative Feature Overview Identifies product features available to you when upgrading. This tool requires Microsoft Excel. Any user should consult t ...
分类:
其他好文 时间:
2016-07-03 01:43:46
阅读次数:
284
Given an array of integers, find two non-overlapping subarrays which have the largest sum. The number in each subarray should be contiguous. Return th ...
分类:
其他好文 时间:
2016-07-02 17:33:10
阅读次数:
137
Given an array of integers and a number k, find k non-overlapping subarrays which have the largest sum. The number in each subarray should be contiguo ...
分类:
其他好文 时间:
2016-07-02 17:30:12
阅读次数:
162
Remove all elements from a linked list of integers that have value val. Example Given 1->2->3->3->4->5->3, val = 3, you should return the list as 1->2 ...
分类:
其他好文 时间:
2016-07-02 11:43:57
阅读次数:
107
Given an integer array, find a subarray where the sum of numbers is zero. Your code should return the index of the first number and the index of the l ...
分类:
其他好文 时间:
2016-07-01 08:53:49
阅读次数:
119
Given an integer array, find a continuous subarray where the sum of numbers is the biggest. Your code should return the index of the first number and ...
分类:
其他好文 时间:
2016-07-01 06:43:08
阅读次数:
186
https://leetcode.com/problems/lru-cache/ Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following op ...
分类:
系统相关 时间:
2016-07-01 01:18:19
阅读次数:
191