2015年5月10日
摘要: Given a binary tree, find its minimum depth.The minimum depth is the number of nodes along the shortest path from the root node down to the nearest le... 阅读全文
posted @ 2015-05-10 07:46 黄瓜小肥皂 阅读(155) 评论(0) 推荐(0) 编辑
摘要: Given an unsorted array of integers, find the length of the longest consecutive elements sequence.For example,Given [100, 4, 200, 1, 3, 2],The longest... 阅读全文
posted @ 2015-05-10 07:34 黄瓜小肥皂 阅读(114) 评论(0) 推荐(0) 编辑