Tony's Log

Algorithms, Distributed System, Machine Learning

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

2015年12月15日

摘要: Almost identical to LintCode "Count of Smaller Number before Self". Corner case needs to be taken care of.class Solution { ////////////////// //... 阅读全文
posted @ 2015-12-15 13:55 Tonix 阅读(172) 评论(0) 推荐(0)

摘要: BFS + HashTableclass Solution { int maxl, minl; unordered_map> hm;public: vector> verticalOrder(TreeNode* root) { maxl = INT_MIN; ... 阅读全文
posted @ 2015-12-15 12:26 Tonix 阅读(147) 评论(0) 推荐(0)