1.删除链表中的节点https://leetcode-cn.com/problems/delete-node-in-a-linked-list/ 一开始没看清题目中传入的参数为“要被删除的节点”,找了半天链表在哪 1 class ListNode: 2 def __init__(self, x):  ...
                            
                            
                                分类:
其他好文   时间:
2021-01-28 12:08:24   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    今日内容 1. XML 1. 概念 2. 语法 3. 解析 XML: 1. 概念:Extensible Markup Language 可扩展标记语言 * 可扩展:标签都是自定义的。 <user> <student> * 功能 * 存储数据 1. 配置文件 2. 在网络中传输 * xml与html的 ...
                            
                            
                                分类:
Web程序   时间:
2021-01-28 11:54:24   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    <!DOCTYPE html> <head> <meta charset="utf-8"> <title></title> <style type="text/css"> ul,li { list-style: none; margin: 0; padding: 0; } .tabBox { wid ...
                            
                            
                                分类:
Web程序   时间:
2021-01-27 14:03:18   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    yum是一个shell前端软件包管理器,也是基于rpm包管理,能够从指定的服务器自动下载rpm包并安装,可以自动处理依赖关系,并且一次性安装所以依赖的安装包。 yum的基本指令 1)查询yum服务器是否有需要安装的软件yum list | grep xxx 2)安装特定的yum包yum instal ...
                            
                            
                                分类:
其他好文   时间:
2021-01-27 13:51:50   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    1 #include<stdio.h> 2 #include<stdlib.h> 3 #include<string.h> 4 5 struct student { 6 char id; 7 struct student* next; 8 }; 9 typedef struct student S; ...
                            
                            
                                分类:
其他好文   时间:
2021-01-27 13:51:20   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                1.添加配置类 当前监控了sql @Configuration public class DruidConfig { /** * 注册一个StatViewServlet * * @return servlet registration bean */ @Bean public ServletRegi ...
                            
                            
                                分类:
其他好文   时间:
2021-01-27 13:33:25   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                一,单表增删改查 class Book(models.Model): name = models.CharField(max_length=32) price = models.IntegerField() pub_date = models.DateField() author = models. ...
                            
                            
                                分类:
编程语言   时间:
2021-01-27 13:13:47   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    数据结构 字典 list.append NodeList定义和操作 递归 操作 enumerate zip divmod,// (x if a else y) string = list lis.sort int(str(x)[::-1]) 去空格:str.strip() ...
                            
                            
                                分类:
编程语言   时间:
2021-01-27 13:13:12   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                https://blog.csdn.net/u011728105/article/details/46594963 循环list中的所有元素然后删除重复 public static List removeDuplicate(List list) { for ( int i = 0 ; i < lis ...
                            
                            
                                分类:
编程语言   时间:
2021-01-27 13:09:16   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    ##从列表中找出某个值第一个匹配的索引值 list18 = [1,2,3,4,5, 3,4,5,6] index18 = list18.index(3) ##圈定范围 index19 = list18.index(3, 3, 7) print(index18, index19) ##列表中元素个数  ...
                            
                            
                                分类:
编程语言   时间:
2021-01-27 12:52:05   
                                阅读次数:
0