##无重复字符的最长子串 给定一个字符串,请你找出其中不含有重复字符的 最长子串 的长度。 ###示例 1: 输入: s = "abcabcbb" 输出: 3 解释: 因为无重复字符的最长子串是 "abc",所以其长度为 3。 class Solution { public int lengthOf ...
分类:
其他好文 时间:
2021-07-02 15:47:36
阅读次数:
0
把SpringBoot项目部署到腾讯云的CentOS 6.9 服务器上 一. 远程连接服务器 在安全组中添加新的规则,允许访问端口22,开启SSH服务 再用putty远程连接服务器 二. JAVA环境配置 下载安装openJDK yum install -y java-1.8.0-openjdk.x ...
分类:
编程语言 时间:
2021-07-02 15:45:35
阅读次数:
0
虚拟机中安装JDK 来自 https://blog.csdn.net/lemonmr/article/details/105288271 1.查询虚拟机是32位的还是64位的 getconf LONG_BIT 2.下载jdk压缩包 jdk8下载路径:https://www.oracle.com/te ...
分类:
其他好文 时间:
2021-07-02 15:33:58
阅读次数:
0
0 企业软件开发流程 #1 web方向,类型#2 开发流程 -传统软件行业,互联网行业 1 pip换源 1 pip3 install pymysql 国外很慢2 pip3 install pymysql -i 地址3 配置,以后pip3 install全走配好的源 -来到C:\Users\oldbo ...
分类:
其他好文 时间:
2021-07-01 17:20:18
阅读次数:
0
一.通过Result类实现返回数据 //用户注册 @PostMapping("/registerUser") public Result registerUser(@RequestBody User user){ Result result = Results.successWithData( us ...
分类:
编程语言 时间:
2021-06-30 18:33:50
阅读次数:
0
打印三角形 public class TriangleDemo { public static void main(String[] args) { for (int j = 1; j <= 5; j++) { for (int i = 5; i >= j; i--) { System.out.pr ...
分类:
编程语言 时间:
2021-06-30 18:13:09
阅读次数:
0
1. 登录github并创建一个仓库 2. 安装git客户端 2.1 下载git 官网:git-scm.com/download/ 镜像:https://npm.taobao.org/mirrors/git-for-windows/?utm_source=qq&utm_medium=social&u ...
分类:
Web程序 时间:
2021-06-30 18:00:40
阅读次数:
0
1、 rm(list = ls()) dir() for (i in list.files(pattern=".r$")) { source(i) } 2、 rm(list = ls()) dir() for (i in dir()) { if(substr(i,nchar(i)-1,nchar(i ...
分类:
编程语言 时间:
2021-06-29 15:38:29
阅读次数:
0
Python部分内置函数 class bytearray([source[, encoding[, errors]]]) 返回一个新的 bytes 数组。 bytearray 类是一个可变序列,包含范围为 0 <= x < 256 的整数。它有可变序列大部分常见的方法 可选形参 source 可以用 ...
分类:
编程语言 时间:
2021-06-28 21:03:27
阅读次数:
0
前序遍历: result = [] st = [root] while st: node = st.pop(-1) if node.right: st.append(node.right) if node.left: st.append(node.left) result.append(node.v ...
分类:
其他好文 时间:
2021-06-28 20:43:55
阅读次数:
0