leetcode.com 2026-09-01
🟡3568.minimum-moves-to-clean-the-classroom
🏷️ Tags
#bit_manipulation #breadth_first_search #array #hash_table #matrix
🟡3568.minimum-moves-to-clean-the-classroom
🏷️ Tags
#bit_manipulation #breadth_first_search #array #hash_table #matrix
Telegraph
minimum-moves-to-clean-the-classroom
You are given an m x n grid classroom where a student volunteer is tasked with cleaning up litter scattered around the room. Each cell in the grid is one of the following:
leetcode.cn 2026-09-10
🟡2265.count-nodes-equal-to-average-of-subtree
🏷️ Tags
#tree #depth_first_search #binary_tree
🟡2265.count-nodes-equal-to-average-of-subtree
🏷️ Tags
#tree #depth_first_search #binary_tree
Telegraph
count-nodes-equal-to-average-of-subtree
给你一棵二叉树的根节点 root ,找出并返回满足要求的节点数,要求节点的值等于其 子树 中值的 平均值 。 注意:
leetcode.com 2026-09-10
🟡2265.count-nodes-equal-to-average-of-subtree
🏷️ Tags
#tree #depth_first_search #binary_tree
🟡2265.count-nodes-equal-to-average-of-subtree
🏷️ Tags
#tree #depth_first_search #binary_tree
Telegraph
count-nodes-equal-to-average-of-subtree
Given the root of a binary tree, return the number of nodes where the value of the node is equal to the average of the values in its subtree. Note:
leetcode.cn 2026-09-11
🟢3483.unique-3-digit-even-numbers
🏷️ Tags
#recursion #array #hash_table #enumeration
🟢3483.unique-3-digit-even-numbers
🏷️ Tags
#recursion #array #hash_table #enumeration
Telegraph
unique-3-digit-even-numbers
给你一个数字数组 digits,你需要从中选择三个数字组成一个三位偶数,你的任务是求出 不同 三位偶数的数量。 注意:每个数字在三位偶数中都只能使用 一次 ,并且 不能 有前导零。 示例 1: 输入: digits = [1,2,3,4] 输出: 12 解释: 可以形成的 12 个不同的三位偶数是 124,132,134,142,214,234,312,314,324,342,412 和 432。注意,不能形成 222,因为数字 2 只有一个。 示例 2: 输入: digits = [0,2,2] 输出:…