摘要:
class Solution { public int findNumberOfLIS(int[] nums) { int n = nums.length; int[] dp = new int[n]; Arrays.fill(dp,1); // dp[i] 以i结尾的最大长度 int[] coun 阅读全文
posted @ 2020-08-19 19:09
Sexyomaru
阅读(85)
评论(0)
推荐(0)
摘要:
class Solution { public List<Integer> largestDivisibleSubset(int[] nums) { List<Integer> res = new ArrayList<>(); int n = nums.length; if(n == 0) retu 阅读全文
posted @ 2020-08-19 17:10
Sexyomaru
阅读(116)
评论(0)
推荐(0)

浙公网安备 33010602011771号