摘要:
Given a time represented in the format "HH:MM", form the next closest time by reusing the current digits. There is no limit on how many times a digit
阅读全文
posted @ 2017-09-24 23:46
Beserious
阅读(1177)
推荐(0)
编辑
摘要:
You're now a baseball game point recorder. Given a list of strings, each string can be one of the 4 following types: Integer (one round's score): Dire
阅读全文
posted @ 2017-09-24 23:44
Beserious
阅读(213)
推荐(0)
编辑
摘要:
We are given a "tree" in the form of a 2D array, with distinct values for each node. In the given 2D array, each element pair [u, v] represents that v
阅读全文
posted @ 2017-09-24 23:43
Beserious
阅读(399)
推荐(0)
编辑
摘要:
Implement a MapSum class with insert, and sum methods. For the method insert, you'll be given a pair of (string, integer). The string represents the k
阅读全文
posted @ 2017-09-24 00:31
Beserious
阅读(222)
推荐(0)
编辑
摘要:
Given a non negative integer num represented as a string, remove k digits from the number so that the new number is the smallest possible. Note: The l
阅读全文
posted @ 2017-09-24 00:13
Beserious
阅读(92)
推荐(0)
编辑