摘要: Given a binary tree, return all root-to-leaf paths. For example, given the following binary tree: 1 / \ 2 3 \ 5 All root-to-leaf paths are: ["1->2->5" 阅读全文
posted @ 2015-08-17 22:45 Grandyang 阅读(14327) 评论(5) 推荐(0) 编辑
Fork me on GitHub