Given a binary tree, return the inorder traversal of its nodes' values. Example: Input: [1,null,2,3] 1 \ 2 / 3 Output: [1,3,2] Follow up: Recursive so ...
                            
                            
                                分类:
其他好文   时间:
2020-08-17 17:50:25   
                                阅读次数:
81
                             
                    
                        
                            
                            
                                
                    参数 类型 说明 data DataFrame pd.pivot_table使用,设定需要操作的 DataFrame values column 被计算的数据项 可选项 设定需要被聚合操作的列 index array column grouper list of the previous 行分组键  ...
                            
                            
                                分类:
其他好文   时间:
2020-08-17 17:12:17   
                                阅读次数:
84
                             
                    
                        
                            
                            
                                集合常用方法 package chapter03 object test05 { def main(args:Array[String]):Unit={ val list=List(1,2,3,4,1,3) //TODO 和 println("sum= "+list.sum) //TODO 最大值  ...
                            
                            
                                分类:
其他好文   时间:
2020-08-13 11:47:58   
                                阅读次数:
65
                             
                    
                        
                            
                            
                                
                    写在前面 本文上接:Kotlin进阶学习2,在上次的文章里,我们学习了高阶函数。这次我们就来学习如何利用高阶函数简化Android中的各种常见操作,并且学习一下泛型的内容。 使用高阶函数简化Android开发 既然谷歌一直推荐使用Kotlin作为安卓开发的语言,那么谷歌肯定为我们提供了各种方便使用K ...
                            
                            
                                分类:
其他好文   时间:
2020-08-10 16:15:30   
                                阅读次数:
72
                             
                    
                        
                            
                            
                                vi /etc/hosts 两个节点都执行 #Public IP10.10.10.10 shdb110.10.10.20 shdb2#Virtual IP10.10.10.30 shdb1-vip10.10.10.40 shdb2-vip#Private IP192.168.7.10 shdb1-p ...
                            
                            
                                分类:
其他好文   时间:
2020-08-09 09:18:50   
                                阅读次数:
74
                             
                    
                        
                            
                            
                                Vertical Order Traversal of a Binary Tree (M) 题目 Given a binary tree, return the vertical order traversal of its nodes values. For each node at positi ...
                            
                            
                                分类:
其他好文   时间:
2020-08-08 17:30:42   
                                阅读次数:
51
                             
                    
                        
                            
                            
                                1、Vget(Objectkey)根据键获取值2、Set<K>KeySet()获取所有键的集合3、Collection<V>values获取所有值得集合4、Set<Map.Entry<K,V>>entrySet()获取所有键值对的集合
                            
                            
                                分类:
编程语言   时间:
2020-08-06 22:05:10   
                                阅读次数:
92
                             
                    
                        
                            
                            
                                1.项目中用到的小工具 1.CommonUtils CommonUtils类就两个方法: 1.String uuid():生成长度32的随机字符,通常用来做实体类的ID。底层使用了UUID类完成; 2.T toBean(Map, Class<T>):把Map转换成指定类型的Bean对象。通常用来获取 ...
                            
                            
                                分类:
编程语言   时间:
2020-08-05 00:06:07   
                                阅读次数:
79
                             
                    
                        
                            
                            
                                1,批量添加 批量插入数据使用的sql语句是: insert into table (字段一,字段二,字段三) values(xx,xx,xx),(oo,oo,oo) mapper文件: int insertBatch(List<TmApplyTemplateDetail> applyTemplat ...
                            
                            
                                分类:
移动开发   时间:
2020-08-04 11:25:02   
                                阅读次数:
103