作业
文章平均质量分 73
Achiuuu
这个作者很懒,什么都没留下…
展开
-
Leetcode 502. IPO
题目 Suppose LeetCode will start its IPO soon. In order to sell a good price of its shares to Venture Capital, LeetCode would like to work on some projects to increase its capital before the IPO. S原创 2018-01-05 23:22:16 · 230 阅读 · 0 评论 -
Leetcode 64. Minimum Path Sum
题目 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. Note: You can only move either down or原创 2018-01-05 23:28:42 · 133 阅读 · 0 评论 -
Leetcode 368. Largest Divisible Subset
题目 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 Sj % Si = 0. If there are multiple原创 2018-01-06 12:36:24 · 214 阅读 · 0 评论 -
Leetcode 377. Combination Sum IV
题目 Given an integer array with all positive numbers and no duplicates, find the number of possible combinations that add up to a positive integer target. Example: nums = [1, 2, 3] target = 4原创 2018-01-06 12:47:48 · 182 阅读 · 0 评论 -
Leetcode 319.Bulb Switcher
题目 There are n bulbs that are initially off. You first turn on all the bulbs. Then, you turn off every second bulb. On the third round, you toggle every third bulb (turning on if it's off or turn原创 2018-01-06 23:04:17 · 193 阅读 · 0 评论 -
Leetcode 318. Maximum Product of Word Lengths
题目 Given a string array words, find the maximum value of length(word[i]) * length(word[j]) where the two words do not share common letters. You may assume that each word will contain only lower原创 2018-01-07 21:14:11 · 126 阅读 · 0 评论