- 博客(3)
- 收藏
- 关注
原创 算法分析与设计——NP完全证明问题8.16
题目: We are feeling experimental and want to create a new dish. There are various ingredients we can choose from and we'd like to use as many of them as possible, but some ingredients don't go wel
2018-01-20 17:15:53 298
原创 LeetCode--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 solutions, r
2018-01-07 20:02:51 124
原创 LeetCode--Find Largest Value in Each Tree Row
You need to find the largest value in each row of a binary tree. Example: Input: 1 / \ 3 2 / \ \ 5 3 9 Output: [1, 3, 9] 这道题的题意还是很简单的,给定一颗
2018-01-06 12:16:14 145
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人