摘要: 111. Minimum Depth of Binary Tree 问题描述: Given a binary tree, find its minimum depth. The minimum depth is the number of nodes along the shortest path 阅读全文
posted @ 2017-06-11 18:17 MT.Queen 阅读(207) 评论(0) 推荐(0) 编辑
摘要: 题目: Given an array of strings, group anagrams together. (给定一个字符串数组,将他们根据anagram归类) 样例: given: ["eat", "tea", "tan", "ate", "nat", "bat"], Return: [["a 阅读全文
posted @ 2017-06-11 13:25 MT.Queen 阅读(136) 评论(0) 推荐(0) 编辑