摘要:
Problem : Given n , how many structurally unique BST 's (binary search trees) that store values 1 ... n ? Example: 思路 : 二叉搜索树(Binary Search Tree, BST) 阅读全文
posted @ 2020-02-16 11:43
littledy
阅读(85)
评论(0)
推荐(0)
摘要:
Problem : Given a binary tree, return the inorder traversal of its nodes' values. Example: Follow up: Recursive solution is trivial, could you do it i 阅读全文
posted @ 2020-02-16 10:47
littledy
阅读(116)
评论(0)
推荐(0)
摘要:
Problem : Given n non negative integers representing the histogram's bar height where the width of each bar is 1, find the area of largest rectangle i 阅读全文
posted @ 2020-02-16 10:17
littledy
阅读(85)
评论(0)
推荐(0)

浙公网安备 33010602011771号