- 博客(2)
- 收藏
- 关注
原创 leetcode 109. Convert Sorted List to Binary Search Tree【给定有序数组构建二叉树】
Given a singly linked list where elements are sorted in ascending order, convert it to a height balanced BST. For this problem, a height-balanced binary tree is defined as a binary tree in which the ...
2019-03-11 23:13:14 138
原创 leetcode103. Binary Tree Zigzag Level Order Traversal【打印二叉树】
Given a binary tree, return thezigzag level ordertraversal of its nodes' values. (ie, from left to right, then right to left for the next level and alternate between). For example: Given binary tre...
2019-03-07 00:34:05 157
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人