
数列
文章平均质量分 78
jmspan
这个作者很懒,什么都没留下…
展开
-
LeetCode 334. Increasing Triplet Subsequence(长度为3的递增子序列)
原题网址:https://leetcode.com/problems/increasing-triplet-subsequence/Given an unsorted array return whether an increasing subsequence of length 3 exists or not in the array.Formally the functio原创 2016-04-29 14:37:07 · 752 阅读 · 0 评论 -
LeetCode 339. Nested List Weight Sum(加权和)
原题网址:https://leetcode.com/problems/nested-list-weight-sum/Given a nested list of integers, return the sum of all integers in the list weighted by their depth.Each element is either an intege原创 2016-04-30 08:44:55 · 1892 阅读 · 0 评论 -
LeetCode 313. Super Ugly Number(超级丑的数字)
原题网址:https://leetcode.com/problems/super-ugly-number/Write a program to find the nth super ugly number.Super ugly numbers are positive numbers whose all prime factors are in the given prime原创 2016-04-22 01:41:57 · 1551 阅读 · 0 评论