- 博客(6)
- 资源 (17)
- 收藏
- 关注
原创 Remove Duplicates from Sorted List II
Given a sorted linked list, delete all nodes that have duplicate numbers, leaving onlydistinct numbers from the original list.For example,Given 1->2->3->3->4->4->5, return 1->2->5.Given 1->1->
2014-09-29 20:10:54 737
原创 Remove Duplicates from Sorted Array II
Follow up for "Remove Duplicates":What if duplicates are allowed at most twice?For example,Given sorted array A = [1,1,1,2,2,3],Your function should return length = 5, and A is now [1,1,2,2,3]
2014-09-29 19:11:47 462
原创 Sqrt(x)
Implement int sqrt(int x).Compute and return the square root of x.原题链接
2014-09-29 18:43:04 551
原创 Evaluate Reverse Polish Notation
Evaluate the value of an arithmetic expression in Reverse Polish Notation.Valid operators are +, -, *, /. Each operand may be an integer or another expression.Some examples: ["2", "1", "+",
2014-09-29 16:48:57 456
原创 Reverse Words in a String
Given an input string, reverse the string word by word.For example,Given s = "the sky is blue",return "blue is sky the".Clarification:What constitutes a word?A sequence of non-space ch
2014-09-29 16:15:36 629
android触摸位置显示
2014-02-13
-LPC1788-SDK Example V1.0 Beta version LPC1788例程
2013-08-23
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人