摘要: 一.Basic CalculatorTotal Accepted:18480Total Submissions:94750Difficulty:MediumImplement a basic calculator to evaluate a simple expression string.The ... 阅读全文
posted @ 2015-12-10 20:19 zengzy 阅读(173) 评论(0) 推荐(0)
摘要: Total Accepted:57578Total Submissions:226493Difficulty:MediumGiven an array of strings, group anagrams together.For example, given:["eat", "tea", "tan... 阅读全文
posted @ 2015-12-10 18:46 zengzy 阅读(260) 评论(0) 推荐(0)
摘要: Total Accepted:39335Total Submissions:242429Difficulty:EasyCompare two version numbersversion1andversion2.Ifversion1>version2return 1, ifversion1v2){ ... 阅读全文
posted @ 2015-12-10 16:36 zengzy 阅读(184) 评论(0) 推荐(0)
摘要: Total Accepted:63607Total Submissions:237192Difficulty:EasyThe count-and-say sequence is the sequence of integers beginning as follows:1, 11, 21, 1211... 阅读全文
posted @ 2015-12-10 13:44 zengzy 阅读(160) 评论(0) 推荐(0)
摘要: Convert a non-negative integer to its english words representation. Given input is guaranteed to be less than 231- 1.For example,123 -> "One Hundred T... 阅读全文
posted @ 2015-12-10 13:17 zengzy 阅读(145) 评论(0) 推荐(0)
摘要: Total Accepted:76601Total Submissions:288579Difficulty:EasyWrite a function to find the longest common prefix string amongst an array of strings.class... 阅读全文
posted @ 2015-12-10 09:17 zengzy 阅读(197) 评论(0) 推荐(0)
摘要: Total Accepted:74498Total Submissions:265241Difficulty:EasyGiven a stringsconsists of upper/lower-case alphabets and empty space characters' ', return... 阅读全文
posted @ 2015-12-10 08:58 zengzy 阅读(128) 评论(0) 推荐(0)
levels of contents