摘要: 1.1、题目1 剑指 Offer 14- I. 剪绳子 1.2、解法 这几天的题都不在行。。。。 1.3、代码 class Solution { public int cuttingRope(int n) { int[] dp = new int[n + 1]; dp[2] = 1; for(int 阅读全文
posted @ 2021-09-24 09:50 程序员khaos 阅读(37) 评论(0) 推荐(0) 编辑