背景:在Apache里面下东西经常会有binary和source的版本,不知道两个版本有什么区别、怎么选 区别:简单来讲,binary是编译好的可以直接使用,source是还没编译过的源代码,需要自行编译。 转自:http://blog.sina.com.cn/s/blog_a3fb4c660102 ...
                            
                            
                                分类:
其他好文   时间:
2020-05-25 12:21:35   
                                阅读次数:
71
                             
                    
                        
                            
                            
                                    Given a binary tree, return all root-to-leaf paths. Note: A leaf is a node with no children. Example: Input: 1 / \ 2 3 \ 5 Output: ["1->2->5", "1->3"] ...
                            
                            
                                分类:
其他好文   时间:
2020-05-25 10:54:39   
                                阅读次数:
51
                             
                    
                        
                            
                            
                                很简单,来个层次遍历,当遍历队列,遍历到刚开始遍历时,队列里最后一个数时(也就是遍历len-1次),得到的就是右视图的其中一个节点 /** * Definition for a binary tree node. * public class TreeNode { * int val; * Tree ...
                            
                            
                                分类:
其他好文   时间:
2020-05-25 09:46:16   
                                阅读次数:
49
                             
                    
                        
                            
                            
                                工作汇报 编辑器 xwl: 今天: lpx报问题:file_update过于频繁 \ 解决方案:延迟更新, \ 如果200ms没有下一个更改就提交此更改; \ 新更改时reset timer 多文件debug: pdb和gdb都支持带文件名(break xxx.py:123) 获取断点:by edi ...
                            
                            
                                分类:
其他好文   时间:
2020-05-24 21:11:04   
                                阅读次数:
74
                             
                    
                        
                            
                            
                                    翻转一棵二叉树。 示例: 输入: 4/ \2 7/ \ / \1 3 6 9输出: 4/ \7 2/ \ / \9 6 3 1 python # Definition for a binary tree node. # class TreeNode: # def __init__(self, x): ...
                            
                            
                                分类:
其他好文   时间:
2020-05-24 13:56:30   
                                阅读次数:
47
                             
                    
                        
                            
                            
                                地址 https://leetcode-cn.com/contest/weekly-contest-190/problems/pseudo-palindromic-paths-in-a-binary-tree/ 题目描述给你一棵二叉树,每个节点的值为 1 到 9 。我们称二叉树中的一条路径是 「伪回 ...
                            
                            
                                分类:
其他好文   时间:
2020-05-24 13:51:05   
                                阅读次数:
73
                             
                    
                        
                            
                            
                                    Find the sum of all left leaves in a given binary tree. Example: 3 / \ 9 20 / \ 15 7 There are two left leaves in the binary tree, with values 9 and 1 ...
                            
                            
                                分类:
其他好文   时间:
2020-05-24 11:27:13   
                                阅读次数:
52
                             
                    
                        
                            
                            
                                    官网参考指引:https://pkg.jenkins.io/debian stable/ wget q O https://pkg.jenkins.io/debian stable/jenkins.io.key | sudo apt key add deb https://pkg.jenkins.i ...
                            
                            
                                分类:
系统相关   时间:
2020-05-24 09:42:07   
                                阅读次数:
81
                             
                    
                        
                            
                            
                                    Given a Binary Search Tree (BST), convert it to a Greater Tree such that every key of the original BST is changed to the original key plus sum of all  ...
                            
                            
                                分类:
其他好文   时间:
2020-05-24 00:24:06   
                                阅读次数:
58
                             
                    
                        
                            
                            
                                    一.基本使用 usage: pyinstaller [-h] [-v] [-D] [-F] [--specpath DIR] [-n NAME] [--add-data <SRC;DEST or SRC:DEST>] [--add-binary <SRC;DEST or SRC:DEST>] [-p ...
                            
                            
                                分类:
其他好文   时间:
2020-05-23 16:51:01   
                                阅读次数:
70