LeetCode - Convert Sorted Array to Binary Search Tree
摘要:
题目需要构建height-balanced BST, 应该能想到找到中间的点,然后构造,构造的时候用DFS 阅读全文
posted @ 2019-10-14 10:41 IncredibleThings 阅读(87) 评论(0) 推荐(0) 编辑
2019年10月14日 #
posted @ 2019-10-14 10:41 IncredibleThings 阅读(87) 评论(0) 推荐(0) 编辑