1:修改/etc/docker/daemon.json文件 { "registry-mirrors": [ "https://kfwkfulq.mirror.aliyuncs.com", "https://2lqq34jg.mirror.aliyuncs.com", "https://pee6w65 ...
                            
                            
                                分类:
其他好文   时间:
2021-03-16 13:49:07   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    #111. 二叉树的最小深度 https://leetcode-cn.com/problems/minimum-depth-of-binary-tree/ 关键在于知道f(root)=min(f(left),f(right))+1这个表达式 class Solution { public: int  ...
                            
                            
                                分类:
其他好文   时间:
2021-03-16 12:04:09   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                void flatten(TreeNode root) { // base case,即最小 if (root == null) return; flatten(root.left); flatten(root.right); /**** 后序遍历 ****/ // 1、保存原来的左右节点,避免变换 ...
                            
                            
                                分类:
其他好文   时间:
2021-03-16 11:50:33   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    启动/停止 服务 启动服务 net start mysql 停止服务 net stot mysql 查看服务启动状态 window+R -->services.msc -->找到MySQL ...
                            
                            
                                分类:
数据库   时间:
2021-03-15 11:24:34   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                Description: Given the root of a binary tree, return the bottom-up level order traversal of its nodes' values. (i.e., from left to right, level by lev ...
                            
                            
                                分类:
其他好文   时间:
2021-03-15 11:13:18   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                # coding=utf-8import osn = 0for root, dir, files in os.walk('.'): for name in files: if ("final" not in name): n+=1 print(n,name) os.remove(os.path.jo ...
                            
                            
                                分类:
其他好文   时间:
2021-03-15 11:04:56   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                236. 二叉树的最近公共祖先 题目描述 相似题目:https://www.cnblogs.com/GarrettWale/p/14406641.html 题解分析 此题是利用二叉树的后序遍历来求解最近公共祖先。 递归的出口是遍历到叶子结点或者当前结点(root)等于待搜索的结点(p或者q),此时需 ...
                            
                            
                                分类:
其他好文   时间:
2021-03-15 10:51:02   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    Linux系统安装python3.8与卸载教程 一、安装python解释器 1.获取系统版本信息 首先,查看Linux系统版本信息: [root@oldboy ~] # cat /proc/version Linux version 4.18.0-240.1.1.el8_3.x86_64 (mock ...
                            
                            
                                分类:
编程语言   时间:
2021-03-15 10:43:37   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    #Git配置远程仓库(密匙链接) 主机名 IP 备注 git01 192.168.200.31 git测试客户端一 git02 192.168.200.32 git测试客户端二 1.建立远程仓库 首先在浏览器中输入网址https://github.com #服务器创建密匙 [root@git01 ~ ...
                            
                            
                                分类:
其他好文   时间:
2021-03-15 10:34:31   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    问题 给你二叉树的根节点 root 和一个整数目标和 targetSum ,找出所有 从根节点到叶子节点 路径总和等于给定目标和的路径。 叶子节点 是指没有子节点的节点。 示例 1: 输入:root = [5,4,8,11,null,13,4,7,2,null,null,5,1], targetSu ...
                            
                            
                                分类:
其他好文   时间:
2021-03-12 13:01:16   
                                阅读次数:
0