Given a binary search tree, write a function kthSmallest to find the kth smallest element in it. Note:You may assume k is always valid, 1 ≤ k ≤ BST's  ...
                            
                            
                                分类:
其他好文   时间:
2020-03-12 10:13:11   
                                阅读次数:
82
                             
                    
                        
                            
                            
                                    ACID: A(Atomicity)原子性:事务中有多个操作,要么全部发生,要么全部不发生。 C(Consistency)一致性: Consistency ensures that a transaction can only bring the database from one valid st ...
                            
                            
                                分类:
数据库   时间:
2020-03-11 23:49:18   
                                阅读次数:
114
                             
                    
                        
                            
                            
                                    打开对应站点的conf配置文件,主要配置代码如下: location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$	{ valid_referers none blocked *.XXXXX.com;//许可的网站 if ($invalid_referer) { rewrite ...
                            
                            
                                分类:
其他好文   时间:
2020-03-11 17:03:23   
                                阅读次数:
71
                             
                    
                        
                            
                            
                                1 错误详情 在创建实例时,实例状态显示“错误” 故障代码为500,提示为No valid host was found 2 原因分析 需要更多的日志信息来定位具体的问题 2.1 计算节点 /var/log/nova/nova-compute.log日志: Failed to contact the ...
                            
                            
                                分类:
其他好文   时间:
2020-03-10 13:43:00   
                                阅读次数:
286
                             
                    
                        
                            
                            
                                    [WARNING] Could not transfer metadata org.sonarsource.sonar-packaging-maven-plugin:sonar-packaging-maven-plugin/maven-metadata.xml from/to central (ht ...
                            
                            
                                分类:
其他好文   时间:
2020-03-07 10:06:20   
                                阅读次数:
87
                             
                    
                        
                            
                            
                                ERROR:  Could not find a valid gem ‘redis‘ (>= 0), here is why:
          Unable to download data from https://rubygems.org/ - SSL_connect SYSCALL returned=5 errno=0 state=SSLv2/v3 read server hello A (https://rubygems.org/latest_specs.4.8.gz)
Error fetching http://ruby.taobao.org/:
	server did not return a valid file (http://ruby.taobao.org/specs.4.8.gz)
Error fetching https://rubygems.org:
	SSL_connect SYSCALL returned=5 errno=0 state=SSLv2/v3 read server hello A (https://rubygems.org/specs
                            
                            
                                分类:
其他好文   时间:
2020-03-06 19:44:22   
                                阅读次数:
72
                             
                    
                        
                            
                            
                                    1. Description: Notes: 2. Examples: 3.Solutions: 1 /** 2 * Created by sheepcore on 2019-05-07 3 */ 4 class Solution { 5 public int minAddToMakeValid(S ...
                            
                            
                                分类:
编程语言   时间:
2020-03-02 15:08:12   
                                阅读次数:
76
                             
                    
                        
                            
                            
                                    1. Description: 2. Examples: 3.Solutions: 1 /** 2 * Created by sheepcore on 2019-05-07 3 */ 4 5 class Solution { 6 public boolean isValid(String s) {  ...
                            
                            
                                分类:
编程语言   时间:
2020-03-02 14:28:01   
                                阅读次数:
68
                             
                    
                        
                            
                            
                                    Given a m x n grid. Each cell of the grid has a sign pointing to the next cell you should visit if you are currently in this cell. The sign of grid[i] ...
                            
                            
                                分类:
其他好文   时间:
2020-03-02 10:51:12   
                                阅读次数:
71
                             
                    
                        
                            
                            
                                1 """ 2 Evaluate the value of an arithmetic expression in Reverse Polish Notation. 3 Valid operators are +, -, *, /. Each operand may be an integer or ...
                            
                            
                                分类:
其他好文   时间:
2020-03-01 09:15:40   
                                阅读次数:
51