Description Given an array A of integers, return the number of (contiguous, non empty) subarrays that have a sum divisible by K. Example 1: Note: 1 思路 ...
分类:
编程语言 时间:
2020-05-22 12:29:23
阅读次数:
47
ADB(Android Debug Bridge), 可以用来操作手机设备或模拟器的命令行工具, 可以从android sdk目录下面的platform-tools找到,如何使window系统,为了使用方便,可以将sdk中的adb所有目录加入环境变量中,这样就可以直接在cmd下使用adb了。 1.查 ...
分类:
数据库 时间:
2020-05-22 00:02:26
阅读次数:
80
1. 基础类型 有12种 布尔值 let isDone: boolean = false; 数字 let dec: number = 6; 字符串 let name : string = 'bob'; 数组 let list: number[] = [1, 2, 3]; 元组 let x : [st ...
分类:
其他好文 时间:
2020-05-21 21:13:21
阅读次数:
79
原数组: var arr = [ { time: 1, title: '2' }, { time: 1, title: '2' }, { time: 2, title: '1' } ] 最终数组: let arrResult = [ { time: 1, number: 2, title: "2 2 ...
分类:
编程语言 时间:
2020-05-21 21:12:48
阅读次数:
196
前言 ??一言难尽啊 | 心情极度难受 | 极度想... 步骤 其实很简单通过 来做就好了~ 设置过期 查看设置过期时间的数据量 ...
分类:
其他好文 时间:
2020-05-21 13:28:09
阅读次数:
194
Given a non-empty array of integers, return the third maximum number in this array. If it does not exist, return the maximum number. The time complexi ...
分类:
其他好文 时间:
2020-05-21 10:38:00
阅读次数:
54
A sequence of number is called arithmetic if it consists of at least three elements and if the difference between any two consecutive elements is the ...
分类:
其他好文 时间:
2020-05-21 10:33:22
阅读次数:
54
一.查看CPU 1.top命令 1.1 功能说明 top命令经常用来监控linux的系统状况,是常用的性能分析工具,能够实时显示系统中各个进程的资源占用情况。 1.2 使用语法 参数说明: d:number代表秒数,表示top命令显示的页面更新一次的间隔。默认是5秒。 b:以批次的方式执行top。 ...
分类:
系统相关 时间:
2020-05-21 00:07:09
阅读次数:
58
A. 先看一个函数: /* * 设置根元素字体大小 * @param Number minSW 最小缩放的设备屏幕宽度 * @param Number maxSW 最大缩放的设备屏幕宽度 * @param Number minFS 最小的宽度对应的字体大小 * @param Number maxFS ...
分类:
其他好文 时间:
2020-05-20 23:55:45
阅读次数:
92
基本数据类型,string number boolean **null undefinded引用数据类型,object: {} [](数组对象) /^$/(正则对象) new Date()(日期对象,) Math(数学函数对象)实力对象, ...function: es6symbol 唯一值,NaN ...
分类:
Web程序 时间:
2020-05-20 21:35:27
阅读次数:
75