会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
itdef
2020年10月4日
LeetCode 5532. 奇偶树
摘要: 地址 https://leetcode-cn.com/problems/even-odd-tree/submissions/ 如果一棵二叉树满足下述几个条件,则可以称为 奇偶树 : 二叉树根节点所在层下标为 0 ,根的子节点所在层下标为 1 ,根的孙节点所在层下标为 2 ,依此类推。 偶数下标 层上
阅读全文
posted @ 2020-10-04 23:20 itdef
阅读(256)
评论(0)
推荐(0)
LeetCode 5518. 给定行和列的和求可行矩阵
摘要: 地址 https://leetcode-cn.com/problems/find-valid-matrix-given-row-and-column-sums/ 给你两个非负整数数组 rowSum 和 colSum , 其中 rowSum[i] 是二维矩阵中第 i 行元素的和, colSum[j]
阅读全文
posted @ 2020-10-04 23:18 itdef
阅读(312)
评论(0)
推荐(0)
LeetCode 5516. 警告一小时内使用相同员工卡大于等于三次的人
摘要: 地址 https://leetcode-cn.com/problems/alert-using-same-key-card-three-or-more-times-in-a-one-hour-period/ 力扣公司的员工都使用员工卡来开办公室的门。 每当一个员工使用一次他的员工卡,安保系统会记录下
阅读全文
posted @ 2020-10-04 23:15 itdef
阅读(335)
评论(0)
推荐(0)
LeetCode 5531. 特殊数组的特征值 二分
摘要: 地址 https://leetcode-cn.com/problems/special-array-with-x-elements-greater-than-or-equal-x/ 给你一个非负整数数组 nums 。如果存在一个数 x ,使得 nums 中恰好有 x 个元素 大于或者等于 x ,那么
阅读全文
posted @ 2020-10-04 23:13 itdef
阅读(186)
评论(0)
推荐(0)
导航
博客园
首页
新随笔
联系
订阅
管理
公告