摘要: 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 dept 阅读全文
posted @ 2016-03-12 14:29 新一代的天皇巨星 阅读(173) 评论(0) 推荐(0)
摘要: Problem: You have a n x n grid: 2 4 3 1 3 2 1 4 4 2 3 1 1 2 3 4 You have to start at the bottom row (highlighted red) and make your way to the top row 阅读全文
posted @ 2016-03-12 09:12 新一代的天皇巨星 阅读(306) 评论(0) 推荐(0)
摘要: Placeholder 阅读全文
posted @ 2016-03-12 00:33 新一代的天皇巨星 阅读(150) 评论(0) 推荐(0)