マツシタのお勉強

2017-02-22から1日間の記事一覧

Problem leetcode.com Solution This problem can be solve by DFS with depth of tree. In my code, lists.size() == depth means that the traversing depth changes. Source Code