Tony's Log

Algorithms, Distributed System, Machine Learning

  博客园 :: 首页 :: 新随笔 :: 联系 :: 订阅 :: 管理 ::

2015年10月5日

摘要: Not hard to find a solution, but there are several corner cases.class Solution {public: /** * @param root: The root of the binary search tree. ... 阅读全文
posted @ 2015-10-05 06:35 Tonix 阅读(190) 评论(0) 推荐(0)

摘要: Greedy: remove earliest down-edge: like "54", "97".class Solution {public: /** *@param A: A positive integer which has N digits, A is a string.... 阅读全文
posted @ 2015-10-05 01:14 Tonix 阅读(166) 评论(0) 推荐(0)