一、String类的常用方法 返回当前字符串中给定位置的字符: char charAt(int index) 返回给定字符串在当前字符串中的位置: int indexOf(String str) 返回当前字符串的长度: int length() 判断当前字符串是以指定字符开始或结束的: boolea ...
分类:
其他好文 时间:
2021-02-18 13:42:38
阅读次数:
0
组合求和( Combination Sum) 1. 题目描述 Given an array of distinct integers candidates and a target integer target, return a list of all unique combinations of ...
分类:
编程语言 时间:
2021-02-18 13:37:18
阅读次数:
0
运行第一个HelloWorld程序 一、JKD安装与配置 分下载,配置,验证三个步骤讲解如何进行JDK环境变量配置。 步骤1 下载,并解压到E:\JDK 首先到甲骨文(Oracle)官网地址下载JKD,链接地址:https://www.oracle.com/java/technologies/jav ...
分类:
其他好文 时间:
2021-02-18 13:29:24
阅读次数:
0
给定一个环,环上 n 座山,若连接两座山的两个弧中有任何一个上没有比两座山更高的山,那么这两座山可以互相看见彼此。现在给定 n 座山的高度,求能够看见彼此信号的山的数量。 ...
分类:
其他好文 时间:
2021-02-18 13:17:15
阅读次数:
0
###about 将平日里遇到的一些实用、有意思的python代码收集起来,以备后用 ####python案例 # ex_1.py # 生成随机字符 import random, string def GenPassword(length): numOfNum = random.randint(1, ...
分类:
编程语言 时间:
2021-02-18 13:14:12
阅读次数:
0
1. 题目描述 Given an array nums of distinct integers, return all the possible permutations. You can return the answer in any order. 2. Examples 示例1: Input ...
分类:
编程语言 时间:
2021-02-18 13:07:50
阅读次数:
0
Percolation API public class Percolation { public Percolation(int n) // create n-by-n grid, with all sites blocked public void open(int row, int col) ...
分类:
其他好文 时间:
2021-02-17 15:10:37
阅读次数:
0
They were the last people you'd expect to be involved in anything strange or mysterious,because they just didn't hold with such nonsense. He was a big ...
分类:
其他好文 时间:
2021-02-17 14:55:28
阅读次数:
0
Perfect简介:Perfect框架是Swift的服务器框架之一。 环境:MacOS 10.15.6 ,Xcode 12.3 1、新建一个文件夹 2、终端 cd到上面创建的文件夹,然后命令 git clone https://github.com/PerfectlySoft/PerfectTemp ...
分类:
编程语言 时间:
2021-02-17 14:49:14
阅读次数:
0
1.浏览器 作用:向服务器发起请求,缓存浏览过的数据,渲染数据 查看浏览器缓存数据:浏览器输入’chrome://version‘即可 2.认识html 纯文本文件:特点是只能写入字符 (常用文本文件如txt),相比非纯文本文件占用更少的内存 非纯文本文件:可写入文件,插入图片,音频等(如word) ...
分类:
Web程序 时间:
2021-02-17 14:40:48
阅读次数:
0