摘要: 原题链接在这里:https://leetcode.com/problems/maximum-average-subtree/ 题目: Given the root of a binary tree, return the maximum average value of a subtree of t 阅读全文
posted @ 2022-06-24 16:08 Dylan_Java_NYC 阅读(59) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/unique-number-of-occurrences/ 题目: Given an array of integers arr, return true if the number of occurrences of ea 阅读全文
posted @ 2022-06-24 14:46 Dylan_Java_NYC 阅读(30) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/steps-to-make-array-non-decreasing/ 题目: You are given a 0-indexed integer array nums. In one step, remove all el 阅读全文
posted @ 2022-06-24 13:45 Dylan_Java_NYC 阅读(287) 评论(0) 推荐(0) 编辑