摘要:
Given a set of distinct positive integers, find the largest subset such that every pair (Si, Sj) of elements in this subset satisfies: Si % Sj = 0 or 阅读全文
posted @ 2016-07-01 14:16
Miller1991
阅读(249)
评论(0)
推荐(0)
摘要:
Given an integer n, generate all structurally unique BST's (binary search trees) that store values 1...n. For example,Given n = 3, your program should 阅读全文
posted @ 2016-07-01 10:49
Miller1991
阅读(151)
评论(0)
推荐(0)
摘要:
Given an integer array nums, find the sum of the elements between indices i and j (i ≤ j), inclusive. Example: Note: 注意边界 阅读全文
posted @ 2016-07-01 10:09
Miller1991
阅读(335)
评论(0)
推荐(0)

浙公网安备 33010602011771号