摘要: Problem: Given a two-dimensional graph with points on it, find a line which passes the most number of points.此题是Cracking the code 5th edition 第七章第六题,思... 阅读全文
posted @ 2014-05-28 12:22 门对夕阳 阅读(600) 评论(1) 推荐(0) 编辑
摘要: The tricky thing is how to decide the key for a hashmap. Especially when you intend to use self-defined objects as key.If you want to make two differe... 阅读全文
posted @ 2014-05-28 11:32 门对夕阳 阅读(173) 评论(0) 推荐(0) 编辑