摘要:
二叉树的前序遍历:https://leetcode-cn.com/problems/binary-tree-preorder-traversal/ 点击查看代码 // 二叉树的递归遍历 public class Solution { public List<Integer> preorderTrav 阅读全文
摘要:
42.接雨水:https://leetcode-cn.com/problems/trapping-rain-water/ 点击查看代码 public class Solution { public int trap(int[] height) { int size = height.length; 阅读全文