Tony's Log

Algorithms, Distributed System, Machine Learning

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

2015年6月5日

摘要: Lesson learnt: std::multiset is a heap structure supporting random removal...class Solution { public: bool containsNearbyAlmostDuplicate(vec... 阅读全文
posted @ 2015-06-05 07:41 Tonix 阅读(149) 评论(0) 推荐(0)

摘要: Not hard, but with some amount of coding. Brutal-force would work: iterate each unique pair of points. And I used "y=ax+b" to check each point which s... 阅读全文
posted @ 2015-06-05 03:50 Tonix 阅读(221) 评论(0) 推荐(0)