- 博客(7)
- 资源 (19)
- 收藏
- 关注
原创 Flatten Binary Tree to Linked List
Flatten Binary Tree to Linked ListGiven a binary tree, flatten it to a linked list in-place.
2015-12-09 20:50:44 298
原创 Reorder List
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 do this in-place without altering the nodes’ values.
2015-12-08 14:35:23 441
原创 Sort List
Sort ListSort a linked list in O(n log n) time using constant space complexity.
2015-12-08 02:19:27 350
原创 Evaluate Reverse Polish Notation
Evaluate Reverse Polish NotationEvaluate the value of an arithmetic expression in Reverse Polish Notation.Valid operators are +, -, *, /. Each operand may be an integer or another expression.Some examp
2015-12-08 01:00:32 293
原创 Maximum Product Subarray
Maximum Product SubarrayFind the contiguous subarray within an array (containing at least one number) which has the largest product. For example, given the array [2,3,-2,4],
2015-12-07 23:34:38 325
原创 Find Minimum in Rotated Sorted Array
Find Minimum in Rotated Sorted ArraySuppose a sorted array is rotated at some pivot unknown to you beforehand. (i.e., 0 1 2 4 5 6 7 might become 4 5 6 7 0 1 2). Find the minimum element.
2015-12-07 18:18:29 304
GTK+开发基础 Foundations Of Gtk Plus Development
2010-12-15
Beginning.SQL.Server.2008.for.Developers.From.Novice.to.Professional
2010-11-24
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人