Tony's Log

Algorithms, Distributed System, Machine Learning

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

2015年7月2日

摘要: Good one.. marked as DP, so I was striking to work out a DP formula... well, not all DP have a formula - one type of DP is called memorized search: th... 阅读全文
posted @ 2015-07-02 14:08 Tonix 阅读(830) 评论(0) 推荐(0)

摘要: Simply to utilize BST's property. The two-pass code below can be extended to support frequent insert\delete.struct SNode{ SNode(int rcnt) : cnt(rcn... 阅读全文
posted @ 2015-07-02 09:45 Tonix 阅读(150) 评论(0) 推荐(0)