lenlir
lenlir
全部文章
分类
题解(2)
归档
标签
去牛客网
登录
/
注册
lenlir的博客
全部文章
(共2篇)
题解 | #序列化二叉树#
String Serialize(TreeNode root) { if(root == null){ return "#" ; } return root.val+","+Serializ...
2021-06-19
0
305
题解 | #顺时针打印矩阵#
//就是每次将上行,右列,下行,左列 都加进去 让list去重 ,然后top++ ; right -- ,bottom-- ,left++, 直到top > bottom 或者 left > right 时退出循环就ok了(简单易懂~~~) ArrayList<Integer&...
2021-06-11
0
292