摘要: 257. Binary Tree Paths Given a binary tree, return all root-to-leaf paths. For example, given the following binary tree: All root-to-leaf paths are: 阅读全文
posted @ 2017-03-20 22:47 世人谓我恋长安 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 27. Remove Element Given an array and a value, remove all instances of that value in place and return the new length. Do not allocate extra space for 阅读全文
posted @ 2017-03-20 19:59 世人谓我恋长安 阅读(113) 评论(0) 推荐(0) 编辑