摘要:
Not hard to find a solution, but there are several corner cases.class Solution {public: /** * @param root: The root of the binary search tree. ... 阅读全文
摘要:
Greedy: remove earliest down-edge: like "54", "97".class Solution {public: /** *@param A: A positive integer which has N digits, A is a string.... 阅读全文