摘要: 转自 "[LeetCode] Maximum Depth of Binary Tree 二叉树的最大深度" 阅读全文
posted @ 2018-09-13 21:25 narjaja 阅读(118) 评论(0) 推荐(0) 编辑
摘要: 单项列表只能把后一个node中的所有数据copy到当前node再delete后一node。 阅读全文
posted @ 2018-09-13 21:10 narjaja 阅读(112) 评论(0) 推荐(0) 编辑
摘要: 转自 "[LeetCode] Poor Pigs 可怜的猪" There are 1000 buckets, one and only one of them contains poison, the rest are filled with water. They all look the sam 阅读全文
posted @ 2018-09-13 20:19 narjaja 阅读(215) 评论(0) 推荐(0) 编辑
摘要: public class Solution { / @param s: the given string @param numRows: the number of rows @return: the string read line by line / public String convert( 阅读全文
posted @ 2018-09-13 14:10 narjaja 阅读(134) 评论(0) 推荐(0) 编辑