摘要:
题目描述 Given n, how many structurally unique BST's (binary search trees) that store values 1 ... n? Example: 解题思路: 在给定的序列[1,n]下,我们来构造二叉搜索树,首先对于序列中的每个数我们 阅读全文
摘要:
题目描述: In a list of songs, the i-th song has a duration of time[i] seconds. Return the number of pairs of songs for which their total duration in secon 阅读全文