摘要: 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-08-29 15:58 immjc 阅读(138) 评论(0) 推荐(0)
摘要: Write a function that takes a string as input and reverse only the vowels of a string. Example 1:Given s = "hello", return "holle". Example 2:Given s 阅读全文
posted @ 2017-08-29 15:11 immjc 阅读(139) 评论(0) 推荐(0)