摘要: 1 class Solution { 2 public: 3 /** 4 * @param A: An integer array. 5 * @param B: An integer array. 6 * @return: a double whose for... 阅读全文
posted @ 2015-07-03 23:33 jianchao-li 阅读(333) 评论(0) 推荐(0) 编辑
摘要: This link has a very concise and fast solution based on binary search. Spend some time reading it and make sure you understand it. It is very helpful.... 阅读全文
posted @ 2015-07-03 23:20 jianchao-li 阅读(209) 评论(0) 推荐(0) 编辑
摘要: This is a tough problem! I read some solutions from the web. This link provides a one-end BFS solution. The code is reorganized as follows. 1 class So... 阅读全文
posted @ 2015-07-03 16:05 jianchao-li 阅读(340) 评论(0) 推荐(0) 编辑