1、 软件运行环境 1> 软件运行和编译 ABI:Application Binary Interface(应用程序的二进制接口) Windows 与 Linux 不兼容 ELF 对应于UNIX 下的文件 PE 则是Windows 的可执行文件 库级别的虚拟化:不兼容解决 Linux:WINE(可以 ...
                            
                            
                                分类:
系统相关   时间:
2020-04-28 13:09:49   
                                阅读次数:
61
                             
                         
                    
                        
                            
                            
                                    ```/** * 94. Binary Tree Inorder Traversal * 1. Time:O(n) Space:O(n) * 2. Time:O(n) Space:O(n) * 3. Time:O(n) Space:O(1) */// 1. Time:O(n) Space:O(n)c... ...
                            
                            
                                分类:
其他好文   时间:
2020-04-27 13:26:00   
                                阅读次数:
56
                             
                         
                    
                        
                            
                            
                                    Bin:全称binary,用于存放二进制文件,可以被运行。 Dev:存放外接设备,在其中的设备需要挂载(类似windows下面的分配盘符)才能直接使用。 Etc:主要存储一些配置文件 Home:表示除了root用户以外的其他用户的家目录,类似windows下的user/用户用户。 Proc:proc ...
                            
                            
                                分类:
系统相关   时间:
2020-04-27 13:24:39   
                                阅读次数:
106
                             
                         
                    
                        
                            
                            
                                Given two binary search trees, return True if and only if there is a node in the first tree and a node in the second tree whose values sum up to a giv ...
                            
                            
                                分类:
其他好文   时间:
2020-04-27 13:22:13   
                                阅读次数:
61
                             
                         
                    
                        
                            
                            
                                    ```/** * 144. Binary Tree Preorder Traversal * 1. Time:O(n) Space:O(n) * 2. Time:O(n) Space:O(n) * 3. Time:O(n) Space:O(n) * 4. Time:O(n) Space:O(1) *... ...
                            
                            
                                分类:
其他好文   时间:
2020-04-27 13:11:07   
                                阅读次数:
39
                             
                         
                    
                        
                            
                            
                                    ```/** * 145. Binary Tree Postorder Traversal * 1. Time:O(n) Space:O(n) * 2. Time:O(n) Space:O(n) * 3. Time:O(n) Space:O(n) * 4. Time:O(n) Space:O(1) ... ...
                            
                            
                                分类:
其他好文   时间:
2020-04-27 13:10:20   
                                阅读次数:
48
                             
                         
                    
                        
                            
                            
                                    ``` /** * 102. Binary Tree Level Order Traversal * 1. Time:O(n) Space:O(n) * 2. Time:O(n) Space:O(n) */ // 1. Time:O(n) Space:O(n) class Solution { pu... ...
                            
                            
                                分类:
其他好文   时间:
2020-04-27 13:04:46   
                                阅读次数:
47
                             
                         
                    
                        
                            
                            
                                    337. 打家劫舍 III https://leetcode-cn.com/problems/house-robber-iii/ /** * Definition for a binary tree node. * type TreeNode struct { * Val int * Left *T ...
                            
                            
                                分类:
其他好文   时间:
2020-04-26 11:12:02   
                                阅读次数:
55
                             
                         
                    
                        
                            
                            
                                    分治算法(1):二分查找!昨天刚说不写算法了,但是突然想起来没写过分治算法的博客,所以强迫症的我…… STL函数库第五弹——二分函数lower_bound()、upper_bound()、binary_search() 由于笔者比较懒,所以把分治算法(二分查找篇)和STL第五弹放在一起。。。 Par ...
                            
                            
                                分类:
编程语言   时间:
2020-04-26 01:42:28   
                                阅读次数:
75
                             
                         
                    
                        
                            
                            
                                    package LeetCode_930 /** * 930. Binary Subarrays With Sum * https://leetcode.com/problems/binary-subarrays-with-sum/description/ * * In an array A of  ...
                            
                            
                                分类:
其他好文   时间:
2020-04-25 20:51:26   
                                阅读次数:
54