上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 19 下一页
摘要: Total Accepted:73922Total Submissions:269855Difficulty:MediumImplement pow(x,n).(M) Sqrt(x)1.递归/*n = 0, 0x = 0 ,x>0,x>1) ; res = res * res; ... 阅读全文
posted @ 2015-12-13 22:34 zengzy 阅读(201) 评论(0) 推荐(0) 编辑
摘要: otal Accepted:54356Total Submissions:357733Difficulty:MediumDivide two integers without using multiplication, division and mod operator.If it is overf... 阅读全文
posted @ 2015-12-13 20:45 zengzy 阅读(229) 评论(0) 推荐(0) 编辑
摘要: Total Accepted:111287Total Submissions:474471Difficulty:EasyReverse digits of an integer.Example1:x = 123, return 321Example2:x = -123, return -321cli... 阅读全文
posted @ 2015-12-13 19:30 zengzy 阅读(141) 评论(0) 推荐(0) 编辑
摘要: Total Accepted:48185Total Submissions:241794Difficulty:HardGiven a string S and a string T, find the minimum window in S which will contain all the ch... 阅读全文
posted @ 2015-12-13 19:09 zengzy 阅读(217) 评论(0) 推荐(0) 编辑
摘要: Total Accepted:45534Total Submissions:226763Difficulty:HardYou are given a string,s, and a list of words,words, that are all of the same length. Find ... 阅读全文
posted @ 2015-12-13 13:58 zengzy 阅读(176) 评论(0) 推荐(0) 编辑
摘要: Total Accepted:53943Total Submissions:209664Difficulty:HardA linked list is given such that each node contains an additional random pointer which coul... 阅读全文
posted @ 2015-12-13 10:26 zengzy 阅读(221) 评论(0) 推荐(0) 编辑
摘要: Total Accepted:53879Total Submissions:190701Difficulty:MediumGiven a linked list and a valuex, partition it such that all nodes less thanxcome before ... 阅读全文
posted @ 2015-12-12 22:24 zengzy 阅读(264) 评论(0) 推荐(0) 编辑
摘要: Total Accepted:57775Total Submissions:198972Difficulty:MediumGiven a singly linked list where elements are sorted in ascending order, convert it to a ... 阅读全文
posted @ 2015-12-12 20:54 zengzy 阅读(134) 评论(0) 推荐(0) 编辑
摘要: otal Accepted:54991Total Submissions:252600Difficulty:MediumGiven a singly linked listL:L0→L1→…→Ln-1→Ln,reorder it to:L0→Ln→L1→Ln-1→L2→Ln-2→…You must ... 阅读全文
posted @ 2015-12-12 20:06 zengzy 阅读(185) 评论(0) 推荐(0) 编辑
摘要: Total Accepted:59422Total Submissions:213019Difficulty:MediumSort a linked list using insertion sort.(M) Sort List/** * Definition for singly-linked l... 阅读全文
posted @ 2015-12-12 19:29 zengzy 阅读(189) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 19 下一页
levels of contents