Given a string s, find the length of the longest substring without repeating characters. Input: s = "abcabcbb"Output: 3Explanation: The answer is "abc ...
分类:
其他好文 时间:
2020-11-08 17:44:10
阅读次数:
26
#include<iostream> #include<memory.h> #include<cmath> #include<algorithm> using namespace std; typedef struct { int x, y; }node; node d[6000]; int r, ...
分类:
其他好文 时间:
2020-11-08 17:11:46
阅读次数:
15
Ubuntu 上 Node.js 安装和卸载 1、Ubuntu 安装 Node.Js1.1、执行检查可更新的软件:sudo apt-get update 1.2、先用普通的apt工具安装低版本的node,然后再升级最新。sudo apt-get install nodejssudo apt inst ...
分类:
Web程序 时间:
2020-11-08 16:55:59
阅读次数:
27
1 Red Hat Enterprise Linux/CentOS 概述 官方的 Zabbix 发行包适用于 RHEL 7、CentOS 7 和 Oracle Linux 7。在本文中,将使用 RHEL 来指代这三个操作系统。 一些 Zabbix agent 和 Zabbix proxy 发行包也适 ...
分类:
其他好文 时间:
2020-11-08 16:55:28
阅读次数:
24
先列出我的测试代码: 1 public static Object loc=new Object(); 2 3 public static void main(String[] args) throws Exception{ 4 5 Thread t1=new Thread(new Runnable ...
分类:
编程语言 时间:
2020-11-08 16:50:52
阅读次数:
19
LinkedHashMap Node<K,V> newNode(int hash, K key, V value, Node<K,V> e) { // 构建新的entry节点 LinkedHashMap.Entry<K,V> p = new LinkedHashMap.Entry<K,V>(hash ...
分类:
其他好文 时间:
2020-11-08 16:49:51
阅读次数:
16
1.什么是nvm nvm是Node Version Manager的缩写,中文翻译为node版本管理工具,它能够让你在同一台机器上安装和切换不同版本的node。 2.下载nvm github下载地址:https://github.com/coreybutler/nvm-windows/release ...
默认值 开箱即用的 SplitChunksPlugin 应该对大多数用户都很好用。 默认情况下,它只影响随需应变的块,因为更改初始块会影响运行项目时包含的应有脚本标记 HTML 文件。 webpack 将根据以下条件自动分割块: 新块可被共享的,或者来自 node_modules 文件夹 新块将大于 ...
分类:
Web程序 时间:
2020-11-07 17:41:12
阅读次数:
24
MinocaOS:下一个Linux?已经支持Python/Ruby/Git/Lua和Node,仅2人开发导读:最年轻的主流操作系统也是25年前编写的,我们需要一个用现代理念来设计的操作系统,高可用架构致力改变互联网的构建方式,很高兴看到一些新的操作系统开发的尝试,新发布的采用GPLv3授权的Minocaos或许可以看到未来的机会。文章后还有POSIX与plan9的大讨论。今天很高兴地宣布,Mino
分类:
编程语言 时间:
2020-11-07 17:01:00
阅读次数:
23
Leetcode 101 数据结构定义: /** * Definition for a binary tree node. * public class TreeNode { * int val; * TreeNode left; * TreeNode right; * TreeNode(int x ...
分类:
其他好文 时间:
2020-11-07 16:16:53
阅读次数:
21