" 显示当前模式set showmode" 打开行号set number" 设置命令历史记录条数set history=2000" 关闭兼容viset nocompatibl...
1. 缘起 芒格在他的《穷查理宝典》中,曾经说到过(原话记不清了),人要多储备一些思维模型,这样能多角度看待问题。 好的思维模型有很多,例如,演绎思维、归纳思维、结构思维等等...
描述: Given two binary trees, write a function to check if they are equal or not. Two bin...
描述: Given a binary tree, check whether it is a mirror of itself (ie, symmetric around i...
描述: Given a binary tree, return the level order traversal of its nodes' values. (ie, fr...
描述: Given a binary tree, return the zigzag level order traversal of its nodes' values. ...
描述: Given inorder and postorder traversal of a tree, construct the binary tree. Note:Yo...
描述: Given a binary tree, return the bottom-up level order traversal of its nodes' value...
描述: Given a binary tree, determine if it is height-balanced. For this problem, a height...
描述: Given a binary tree, determine if it is height-balanced. For this problem, a height...
入学之后才发现,我们导师既不能给我们学术上的指导,也不擅长工程技术。其水平不如来了一年的师兄。落差是有的。一个学期快过完了,还是处在迷茫期,不知道从哪个方面着手。看来三年只能...
描述: Given a binary tree and a sum, find all root-to-leaf paths where each path's sum eq...
描述: Given a binary tree and a sum, determine if the tree has a root-to-leaf path such t...
描述: Follow up for problem "Populating Next Right Pointers in Each Node". What if the gi...
描述: Given a binary tree Populate each next pointer to point to its next right node. If ...
参考: 链接:https://www.cnblogs.com/yuzhangcmu/p/4172855.htmlhttps://zxi.mytechroad.com/blog...
描述: Given a binary tree containing digits from0-9only, each root-to-leaf path could rep...
title: copy-list-with-random-pointerdate: 2018-12-09 00:27:33categories: LeetCodetags:[...