- 博客(10)
- 资源 (43)
- 收藏
- 关注
原创 2021-06-21
4Sum描述分析代码左右夹逼HashMap 做缓存描述Given an array S of n integers, are there elements a, b, c , and d in S such that a + b + c +d = target ? Find all unique quadruplets in the array which gives the sum of target.Note:Elements in a quadruplet (a,b,c,d) must b
2021-06-21 15:08:03 55
原创 2021-06-21
3Sum Closest描述分析代码描述Given an array S of n integers, find three integers in S such that the sum is closest to a givennumber, target. Return the sum of the three integers. You may assume that each input would have exactly one solution.For example, given
2021-06-21 14:51:45 43
原创 2021-06-21
提示:文章写完后,目录可以自动生成,如何生成可参考右边的帮助文档3Sum描述分析代码描述Given an array S of n integers, are there elements a, b, c in S such that a + b + c = 0 ?Find all unique triplets in the array which gives the sum of zero.Note:Elements in a triplet (a,b,c) must be in non
2021-06-21 14:45:01 60
原创 2021-06-21
Two Sum描述分析代码描述Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the two numbers such that they add up to the target, where index1 must be less than index2. Pleas
2021-06-21 14:40:25 62
原创 2021-06-21
Longest Consecutive Sequence描述分析代码描述Given an unsorted array of integers, find the length of the longest consecutive elements sequence.For example, Given [100, 4, 200, 1, 3, 2] , The longest consecutive elements sequence is [1, 2,3, 4] . Return its leng
2021-06-21 14:34:38 46
原创 2021-06-21
Remove Duplicates from Sorted Array II描述分析代码1代码2描述Follow up for “Remove Duplicates”: What if duplicates are allowed at most twice?For example, given sorted array A = [1,1,1,2,2,3] , your function should return length = 5 , and A isnow [1,1,2,2,3]分析
2021-06-21 14:20:33 59
原创 2021-06-21
Remove Duplicates from Sorted Array原文描述代码原文Given a sorted array, remove the duplicates in place such that each element appear only once and returnthe new length.Do not allocate extra space for another array, you must do this in place with constant mem
2021-06-21 14:14:41 49
原创 2021-06-20
MAVEN安装与配置一、前提条件二、下载MAVEN,解压 下载地址三、配置环境变量四、验证五,设置localRepository六,测试一、前提条件已经安装配置好了Jdk二、下载MAVEN,解压 下载地址http://maven.apache.org/download.cgi 三、配置环境变量 新建系统变量其实不建也行,直接用path写入maven的bin目录也行。在path中加入maven的bin目录
2021-06-20 13:33:57 68
原创 2021-06-17
Java的学习路线图前言一、pandas是什么?二、使用步骤1.引入库2.读入数据总结前言 JAVA 语言是一门非常流行和重要的语言,目前仍是需求量很大的语言,应用范围很广的语言,在:企业级开发、移动开发、大数据云计算、人工智能等领域都有大量的应用。怎么样学习好 JAVA 语言,达到可以轻松就业的地步,是每个初学者都关注的话题。我们一般将 JAVA 编程的学习分为这四个大阶段:基础阶段、WEB 开发阶段、框架阶段、高级技术阶段。各阶段具体学习内容和方法如下:提示:以下
2021-06-18 08:56:46 79
原创 2021-06-01
IDEA 最简单的springboot项目之hello worldspringboot之hello world创建过程需要配置的文件目录结构如下pom.xmlDemoController.javaDemoMainApplication.java测试springboot之hello worldJDK版本:13IDEA版本:2019.3.5创建过程需要配置的文件DemoController.javaDemoMainApplication.javapom.xml目录结构如下pom.xml
2021-06-01 15:35:26 67
mysql-workbench-community-6.3.6-winx64-noinstall.zip
2021-06-20
Dev-cpp5.4.0.zip
2021-06-20
mybatisplus教程(三)代码.zip
2021-06-20
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人