摘要:
Total Accepted:75767Total Submissions:314003Difficulty:MediumImplementint sqrt(int x).Compute and return the square root ofx.(M) Pow(x, n)class Soluti... 阅读全文
posted @ 2015-12-13 23:49
zengzy
阅读(239)
评论(0)
推荐(0)
摘要:
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
阅读(205)
评论(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
阅读(246)
评论(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
阅读(146)
评论(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
阅读(221)
评论(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
阅读(181)
评论(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
阅读(224)
评论(0)
推荐(0)
浙公网安备 33010602011771号