class Solution(object): def threeSum(self, nums): res_list=[] nums.sort() for i in range(len(nums)): if(nums[i]>0): break if i>0 and nums[i]==nums[i-1 ...
分类:
其他好文 时间:
2020-06-13 00:12:53
阅读次数:
120
es5和es6区别javaScript是一种动态脚本,弱类型语言基于HTML客户语言,所以通过版本迭代增加一些特性:es5:1、导入模块使用request()2、导出module.exportes6:ES6特性如下:1.块级作用域关键字let,常量const2.对象字面量的属性赋值简写(propertyvalueshorthand)varobj={//protoproto:theProtoObj,
分类:
其他好文 时间:
2020-06-11 10:50:00
阅读次数:
71
课程内容 利用NC-UAP提供的几个插件包,放入Eclipse(本次课件内容以Eclipse3.2版本为准)的plugins中,搭建NC-UAP的开发环境。在上一章节中,演示了怎么搭建NC产品的应用环境,但作为开发人员,日常的工作都是在Eclipse开发环境中进行。在Eclipse中如何建立开发环境 ...
分类:
其他好文 时间:
2020-06-08 19:23:20
阅读次数:
245
题目描述 leetcode - 17:https://leetcode-cn.com/problems/letter-combinations-of-a-phone-number/submissions/ 解题关键 递归 回溯 碎碎念 感觉就是一个递归加回溯。 把digits列出的数字键按顺序递归d ...
分类:
其他好文 时间:
2020-06-08 19:01:18
阅读次数:
58
async/await ES7语法糖,基于Promise,处理异步任务更加方便 async 函数的返回值为promise对象,promise对象的结果由async函数执行的返回值决定 /* async: async不一定需要await,但是await一定需要async 加了async之后,函数的执行 ...
分类:
其他好文 时间:
2020-06-07 15:13:44
阅读次数:
46
在上次做了第一次尝试,现尝试优化 https://www.cnblogs.com/tingxin/p/11949317.html 首先日志文件和logging 配置文件都放在conf文件夹下 产生日志文件 newfile.py import os,time def newfile(targetfil ...
分类:
编程语言 时间:
2020-06-07 14:49:47
阅读次数:
60
1. veracity (quality) how correct the data is, shows if we can trust the data challenging因为易于发生,影响巨大且难以控制 2. variability variety指same data, different ...
分类:
其他好文 时间:
2020-06-05 14:47:57
阅读次数:
77
一:禁用网卡(NetCard-Disable)@echooff::BatchGotAdmin:-------------------------------------REM-->Checkforpermissionsnul2>&1"%SYSTEMROOT%\system32\cacls.exe""%SYSTEMROOT%\system32\con
分类:
其他好文 时间:
2020-06-04 12:13:56
阅读次数:
87
看到几 个方法,在此记录一下: 方法一 (可生成索引):(未验证可行性 转自:https://blog.csdn.net/happyflystone/article/details/4538254 ) /* exec sp_autoIdx ‘1’ 直接生成索引 or exec sp_autoIdx ...
分类:
数据库 时间:
2020-06-04 10:19:03
阅读次数:
82
MySQL 管理 启动及关闭 MySQL 服务器 Windows 系统下 在 Windows 系统下,打开命令窗口(cmd),进入 MySQL 安装目录的 bin 目录。 启动: cd c:/mysql/bin mysqld --console 关闭: cd c:/mysql/bin mysqlad ...
分类:
数据库 时间:
2020-06-03 00:24:38
阅读次数:
102