2020年2月24日

637. 二叉树的层平均值 ;值得思考的层序遍历

摘要: 值得思考的层序遍历.md [toc] 637. 二叉树的层平均值 https://leetcode cn.com/problems/average of levels in binary tree/ 描述 try1 final ans think; different; final ans 和 tr 阅读全文

posted @ 2020-02-24 11:15 Paulkg12 阅读(146) 评论(0) 推荐(0) 编辑

lc 0224

摘要: [toc] 0224 algo todo: ✅ 766. 托普利茨矩阵 https://leetcode cn.com/problems/toeplitz matrix 描述 解答 思路: 判断 即可 只需判断:前行中除最后一个元素外剩余的元素完全等于后行中除第一个元素外剩余的元素。 cpp py 阅读全文

posted @ 2020-02-24 11:13 Paulkg12 阅读(262) 评论(0) 推荐(0) 编辑

导航