摘要: This problem can be solved very elegantly using BFS, as in this post.The code is rewritten below in C++. 1 class Solution { 2 public: 3 vector rem... 阅读全文
posted @ 2015-11-05 15:38 jianchao-li 阅读(1428) 评论(0) 推荐(0) 编辑