上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 19 下一页
摘要: Total Accepted:18003Total Submissions:66490Difficulty:EasyGiven apatternand a stringstr, find ifstrfollows the same pattern.Herefollowmeans a full mat... 阅读全文
posted @ 2015-12-16 12:58 zengzy 阅读(267) 评论(0) 推荐(0) 编辑
摘要: Total Accepted:49916Total Submissions:365731Difficulty:HardGivennpoints on a 2D plane, find the maximum number of points that lie on the same straight... 阅读全文
posted @ 2015-12-16 11:38 zengzy 阅读(145) 评论(0) 推荐(0) 编辑
摘要: Total Accepted:26010Total Submissions:102064Difficulty:HardGiven an unsorted array, find the maximum difference between the successive elements in its... 阅读全文
posted @ 2015-12-15 21:01 zengzy 阅读(195) 评论(0) 推荐(1) 编辑
摘要: Longest Increasing SubsequenceTotal Accepted:9797Total Submissions:30801Difficulty:MediumGiven an unsorted array of integers, find the length of longe... 阅读全文
posted @ 2015-12-15 17:19 zengzy 阅读(161) 评论(0) 推荐(0) 编辑
摘要: Total Accepted:28176Total Submissions:82688Difficulty:MediumGiven a binary search tree, write a functionkthSmallestto find thekth smallest element in ... 阅读全文
posted @ 2015-12-15 15:57 zengzy 阅读(117) 评论(0) 推荐(1) 编辑
摘要: 1.H-IndexTotal Accepted:19058Total Submissions:70245Difficulty:MediumGiven an array of citations (each citation is a non-negative integer) of a resear... 阅读全文
posted @ 2015-12-15 11:56 zengzy 阅读(219) 评论(0) 推荐(1) 编辑
摘要: Total Accepted:35377Total Submissions:202492Difficulty:MediumGiven a list of non negative integers, arrange them such that they form the largest numbe... 阅读全文
posted @ 2015-12-15 10:04 zengzy 阅读(179) 评论(0) 推荐(1) 编辑
摘要: Total Accepted:43676Total Submissions:111568Difficulty:EasyGiven two stringssandt, write a function to determine iftis an anagram ofs.For example,s= "... 阅读全文
posted @ 2015-12-14 18:20 zengzy 阅读(112) 评论(0) 推荐(0) 编辑
摘要: Total Accepted:22338Total Submissions:97234Difficulty:MediumGiven acompletebinary tree, count the number of nodes.Definition of a complete binary tree... 阅读全文
posted @ 2015-12-14 11:33 zengzy 阅读(156) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(234) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 19 下一页
levels of contents