摘要:
package leetcode; public class offer_14_1 { public int cuttingRope(int n) { int max=1; int[] dp=new int[n+1]; //当n≤3时,不符合动态规划 if(n<=3) { return Math.m 阅读全文
posted @ 2022-03-29 20:04
一仟零一夜丶
阅读(16)
评论(0)
推荐(0)
摘要:
package leetcode; import java.util.ArrayList; import java.util.List; public class offer_57_2 { public int[][] findContinuousSequence(int target) { int 阅读全文
posted @ 2022-03-29 20:03
一仟零一夜丶
阅读(16)
评论(0)
推荐(0)
浙公网安备 33010602011771号