摘要: 400-500 404、左叶子之和 (https://leetcode-cn.com/problems/sum-of-left-leaves/) /** * Definition for a binary tree node. * public class TreeNode { * int val; 阅读全文
posted @ 2021-12-26 20:33 Funnnn 阅读(36) 评论(0) 推荐(0) 编辑
摘要: 200-300 263. 丑数 (https://leetcode-cn.com/problems/ugly-number/) class Solution { public boolean isUgly(int n) { if(n < 1) return false; while(n % 5 == 阅读全文
posted @ 2021-12-26 20:29 Funnnn 阅读(107) 评论(0) 推荐(0) 编辑