摘要: Description: Given a circular array (the next element of the last element is the first element of the array), print the Next Greater Number for every 阅读全文
posted @ 2019-09-24 15:36 CodingYM 阅读(181) 评论(0) 推荐(0) 编辑
摘要: Description: A full binary tree is defined as a binary tree in which all nodes have either zero or two child nodes. Conversely, there is no node in a 阅读全文
posted @ 2019-09-24 15:16 CodingYM 阅读(238) 评论(0) 推荐(0) 编辑
摘要: Description: 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 阅读全文
posted @ 2019-09-24 11:04 CodingYM 阅读(99) 评论(0) 推荐(0) 编辑