学习自:CS-Note Leetcode 题解 - 双指针 1、有序数组的Two Sum 167. 两数之和 II - 输入有序数组 题目描述: 给定一个已按照 升序排列 的整数数组 numbers ,请你从数组中找出两个数满足相加之和等于目标数 target 。 函数应该以长度为 2 的整数数组的 ...
分类:
其他好文 时间:
2021-04-23 12:22:04
阅读次数:
0
在windows 10中 开启 PHP8 + PHPStorm + Xdebug3 调试模型 ...
分类:
Web程序 时间:
2021-04-23 12:18:17
阅读次数:
0
一、ScheduledExecutorService 设计思想 ScheduledExecutorService,是基于线程池设计的定时任务类,每个调度任务都会分配到线程池中的一个线程去执行,也就是说,任务是并发执行,互不影响。 需要注意,只有当调度任务来的时候,ScheduledExecutorS ...
分类:
编程语言 时间:
2021-04-23 12:00:54
阅读次数:
0
WebRTC M89 目前在 Chrome 测试版渠道发布,包含超过39个漏洞修复,功能增强,稳定性及性能改进。本篇文章为 WebRTC M89 Release Notes 中文版。 ...
分类:
Web程序 时间:
2021-04-23 12:00:36
阅读次数:
0
1、确认系统版本 cat /etc/redhat-release CentOS Linux release 7.6.1810 (Core) 2、yum 安装 gcc 相关 yum -y install gcc gcc-c++ 3、卸载旧的版本 yum -y remove docker docker- ...
分类:
其他好文 时间:
2021-04-23 11:54:07
阅读次数:
0
交换机配置: 创建IPTV接口: IPTV跃点设置为20,防止上网走这个端口。 防火墙配置: config rule option target 'ACCEPT' option proto 'udp' option name 'IPTV-DHCP' option family 'ipv4' opti ...
分类:
其他好文 时间:
2021-04-22 16:16:44
阅读次数:
0
首发于Enaium的个人博客 不用XML只用注解 首先需要创建6个注解 SQL用于输入SQL语句 @Target(ElementType.METHOD) @Retention(RetentionPolicy.RUNTIME) public @interface SQL { String[] valu ...
分类:
其他好文 时间:
2021-04-22 16:14:47
阅读次数:
0
<a> 标签通常会配合着使用 noopener, noreferrer 及 nofollow 这些属性, 它们的作用及用法如下。 noopener 当给链接加上 target="_blank" 后, 目标网页会在新的标签页中打开, 此时在新打开的页面中可通过 window.opener 获取到源页面 ...
分类:
其他好文 时间:
2021-04-22 16:07:21
阅读次数:
0
二分查找的基本框架 int binarySearch(int[] nums, int target) { int left = 0, right = ...; while(...) { int mid = left + (right - left) / 2; if (nums[mid] == tar ...
分类:
其他好文 时间:
2021-04-22 15:54:34
阅读次数:
0
Configuration: 默认有两个配置文件 /etc/ansible/ansible.cfg 为配置文件 /etc/ansible/hosts为inventory host_key_checking = True 时,不能使用密码链接target ...
分类:
其他好文 时间:
2021-04-21 12:59:45
阅读次数:
0