随笔分类 -  leetcode实践

摘要:原题Given a binary tree, determine if it is height-balanced.For this problem, a height-balanced binary tree is defined as a binary tree in which the dep... 阅读全文
posted @ 2015-05-14 15:25 小痴_r 阅读(141) 评论(0) 推荐(0)
摘要:Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the two nu... 阅读全文
posted @ 2015-03-25 20:01 小痴_r 阅读(142) 评论(0) 推荐(0)