2021年7月10日
摘要: package leetcode; import java.util.ArrayList; import java.util.List; public class demo_131 { public List<List<String>> partition(String s) { List<List 阅读全文
posted @ 2021-07-10 20:10 一仟零一夜丶 阅读(39) 评论(0) 推荐(0)
摘要: package leetcode; public class demo_122 { public int maxProfit(int[] prices) { if(prices.length==0) {return 0;} int sumprofit=0; //允许当天卖完后在买,所以贪心算法只要今 阅读全文
posted @ 2021-07-10 15:26 一仟零一夜丶 阅读(28) 评论(0) 推荐(0)