摘要: 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 l 阅读全文
posted @ 2017-08-18 23:27 QuestCode 阅读(117) 评论(0) 推荐(0)
摘要: 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 @ 2017-08-18 22:29 QuestCode 阅读(173) 评论(0) 推荐(0)
摘要: 1、内存泄漏定义 sun官方解释:Another common problem with explicit memory management is space leaks. These leaks occur when memory is allocated and no longer refer 阅读全文
posted @ 2017-08-18 00:04 QuestCode 阅读(166) 评论(0) 推荐(0)