Description Given a singly linked list, determine if it is a palindrome. Example 1: Example 2: Follow up: Could you do it in O(n) time and O(1) space? ...
分类:
其他好文 时间:
2020-05-10 15:24:52
阅读次数:
77
按照日常开发习惯,在现在多模块多层级的项目中,应用于应用之间,模块于模块之间数据模型一般都不通用,每层都有自己的数据模型。对于不同领域层使用不同JavaBean对象传输数据,避免相互影响。比如传输对象DTO、业务普通封装对象BO、数据库映射对象DO等。于是在不同层之间进行数据传输时,不可避免地需要将... ...
分类:
其他好文 时间:
2020-05-10 14:41:40
阅读次数:
55
? Hit me, lock me up, do anything with me, ... ? and Marrone, Bruno After thousands of years repeating the title of this problem statement, always wit ...
分类:
其他好文 时间:
2020-05-10 01:27:51
阅读次数:
82
和JS\Python语句判断逻辑基本一致,不需要记录详细,只需要记录格式 一、for循环 二、while循环 三、do...while循环 四、三种循环的区别 对比|区别 | for和while、do...while| 1、for的作用域再for结构体中,而另外两种为整个函数体中 2、do..whi ...
分类:
编程语言 时间:
2020-05-09 01:19:42
阅读次数:
64
系统自带的变量 $IFS 内部字段分隔符(Internal Field Separator, IFS)定义一个定界符,默认是空格。 [root@cnblogs ~]# cat test.sh #!/bin/bash IFS=',' for i in `echo "$1"` do echo "$i" ...
分类:
系统相关 时间:
2020-05-08 13:07:36
阅读次数:
75
To enable Flash for a specific website, first open your Chrome browser and type chrome://settings/content in the address bar, then press enter. Then o ...
分类:
其他好文 时间:
2020-05-08 10:03:00
阅读次数:
76
Recently when I do self study on Vue I find many articles in the internet with full of praise on "Vue" ‘s reactive Two Way Data binding trait. This fa ...
分类:
其他好文 时间:
2020-05-07 22:47:49
阅读次数:
138
因为python每次运行完,并不清除内存,nowtime一直不变,这导致了一个致命问题,使我的脚本一直运行失败,具体如下: 我设置的是每隔30分钟登陆一次,代码如下 if __name__ == "__main__": login() schedule.every(30).minutes.do(lo ...
分类:
其他好文 时间:
2020-05-07 15:13:38
阅读次数:
167
定义rm命令别名vim/etc/bashrcaliasrm=‘/bin/rm.sh‘配置回收站脚本vim/bin/rm.sh#!/bin/bashtrash=/tmp/recycle_tmp[-d${trash}]||mkdir-m777-p${trash}Dir=`pwd`now=`date+%Y%m%d%H%M%S`if["$Dir"!="$trash"]thenfordirin$@do["$
分类:
其他好文 时间:
2020-05-07 12:02:17
阅读次数:
88
一.类和对象 类是现实世界或思维世界的实体在计算机中的反映 它将数据以及这些数据上的操作封装在一起 把类比作一个模版,通过这个模版可以产生很多个对象 二.构造函数 $ vim s3.py class Student(): name = '' age = 0 def do_homework(self) ...
分类:
编程语言 时间:
2020-05-05 23:32:20
阅读次数:
64