摘要:
package leetcode; public class demo_437 { int count=0; public int pathSum(TreeNode root, int targetSum) { order(root, targetSum); return count; } publ 阅读全文
posted @ 2022-04-29 11:34
一仟零一夜丶
阅读(22)
评论(0)
推荐(0)
摘要:
package leetcode; public class demo_309 { public int maxProfit(int[] prices) { //前i天中,最后一个操作是买入的最大收益 int[] buy=new int[prices.length]; //前i天中,最后一个操作是卖 阅读全文
posted @ 2022-04-29 10:55
一仟零一夜丶
阅读(33)
评论(0)
推荐(0)
浙公网安备 33010602011771号