摘要:
题目:Given a binary tree, flatten it to a linked list in-place.For example,Given 1 / \ 2 5 / \ \ 3 4 6The flattene... 阅读全文
摘要:
Given an array where elements are sorted in ascending order, convert it to a height balanced BST.Solution:If you would have to choose an array element... 阅读全文