摘要: 原题链接在这里:https://leetcode.com/problems/make-array-non-decreasing-or-non-increasing/description/ 题目: You are given a 0-indexed integer array nums. In on 阅读全文
posted @ 2024-07-15 23:38 Dylan_Java_NYC 阅读(30) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/number-of-good-leaf-nodes-pairs/description/ 题目: You are given the root of a binary tree and an integer distance 阅读全文
posted @ 2024-07-15 11:37 Dylan_Java_NYC 阅读(34) 评论(0) 推荐(0) 编辑