摘要: Given preorder and inorder traversal of a tree, construct the binary tree.Note:You may assume that duplicates do not exist in the tree.思路:由前序遍历数组和中序遍历... 阅读全文
posted @ 2014-04-28 10:19 Awy 阅读(139) 评论(0) 推荐(0) 编辑
摘要: Given a digit string, return all possible letter combinations that the number could represent.A mapping of digit to letters (just like on the telephon... 阅读全文
posted @ 2014-04-28 09:42 Awy 阅读(118) 评论(0) 推荐(0) 编辑