摘要:
Given *n*, how many structurally unique **BST's** (binary search trees) that store values 1 ... *n*? 阅读全文
摘要:
Given a binary tree, return the *inorder* traversal of its nodes' values. 阅读全文
摘要:
Given a set of **distinct** integers, *nums*, return all possible subsets (the power set). 阅读全文
摘要:
Given an array with *n* objects colored red, white or blue, sort them **in-place** so that objects of the same color are adjacent, with the colors in the order red, white and blue. 阅读全文
摘要:
Given a *m* x *n* grid filled with non-negative numbers, find a path from top left to bottom right which *minimizes* the sum of all numbers along its path. 阅读全文