①英文题目 Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted ...
分类:
其他好文 时间:
2019-09-16 13:38:03
阅读次数:
78
①中文题目 在一个给定的数组nums中,总是存在一个最大元素 。 查找数组中的最大元素是否至少是数组中每个其他数字的两倍。 如果是,则返回最大元素的索引,否则返回-1。 示例 1: 输入: nums = [3, 6, 1, 0]输出: 1解释: 6是最大的整数, 对于数组中的其他整数,6大于数组中其 ...
分类:
其他好文 时间:
2019-09-16 10:29:02
阅读次数:
90
①英文题目: Given an array of integers and an integer k, find out whether there are two distinct indices i and j in the array such that nums[i] = nums[j] a ...
分类:
其他好文 时间:
2019-09-15 01:16:06
阅读次数:
93
①英文题目 Given two sorted integer arrays nums1 and nums2, merge nums2 into nums1 as one sorted array. Note: The number of elements initialized in nums1 a ...
分类:
编程语言 时间:
2019-09-15 01:12:03
阅读次数:
89
使用vagrant和virtualbox快配置三个ubuntu docker 虚拟机 ...
分类:
其他好文 时间:
2019-09-08 22:39:17
阅读次数:
126
我的全栈之路-C语言基础之数据存储 我的全栈之路 2.1 计算机的计算单位 2.1.1 容量单位 在购买电脑时,通常会选择高配置的内存、硬盘。例如最新款(2019)15寸的macBookPro已经可以选配32G内存和4T的固态硬盘,而这里的32G和4T就是常用的容量单位。 在物理层面,我们使用高低电 ...
分类:
编程语言 时间:
2019-09-05 09:13:47
阅读次数:
120
SELECT * FROM ( SELECT ACCT_NUM, ROW_NUMBER() OVER (PARTITION BY LC ORDER BY ACCT_NUM) AS emp_id FROM ACCOUNT WHERE LC='720220' ) WHERE emp_id>'41404'... ...
分类:
其他好文 时间:
2019-08-30 21:06:27
阅读次数:
68
1:离开初始化环境,将会不工作。 例如: 下面的将会出现错误。 DATA lc type ref to ClassA. create object lc. test-injection input_class. lc_classa = lc end-injection. 需要: test-injec ...
分类:
其他好文 时间:
2019-08-29 13:51:46
阅读次数:
57
主要参考:https://segmentfault.com/a/1190000012166969 需要注意的点: 使用expect自动登录后,不能使用rz和sz命令问题 脚本开头可以加入:export LC_CTYPE=en_US 使用expect自动登录后,不能使用rz和sz命令问题 使用expe ...
分类:
Web程序 时间:
2019-08-21 14:00:55
阅读次数:
148