自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

hongjie_lin

如何上手一门语言

  • 博客(27)
  • 收藏
  • 关注

原创 通俗易懂的SpringBoot教程---day2---Springboot配置文件

通俗易懂的SpringBoot教程—day2—Springboot配置文件1、配置文件SpringBoot使用一个全局的配置文件,配置文件名是固定的;•application.properties•application.yml配置文件的作用:修改SpringBoot自动配置的默认值;SpringBoot在底层都给我们自动配置好;YAML(YAML Ain’t Markup Langu...

2019-03-27 16:03:54 379

原创 通俗易懂的SpringBoot教程---day1---Springboot入门教程介绍

通俗易懂的SpringBoot教程—day1—教程介绍教程介绍:初级教程:一、 Spring Boot入门二、 Spring Boot配置三、 Spring Boot与日志四、 Spring Boot与Web开发五、 Spring Boot与Docker:Docker容器六、 Spring Boot与数据访问:JDBC、mybatis七、 Spring Boot启动配置原理八、...

2019-03-27 13:03:29 1499

原创 LeetCode算法入门- Implement strStr() -day22

LeetCode算法入门- Implement strStr() -day22题目描述Implement strStr().Return the index of the first occurrence of needle in haystack, or -1 if needle is not part of haystack.Example 1:Input: haystack ...

2019-03-26 23:21:22 155

原创 LeetCode算法入门- Remove Duplicates from Sorted Array -day21

LeetCode算法入门- Remove Duplicates from Sorted Array -day21题目描述Given a sorted array nums, remove the duplicates in-place such that each element appear only once and return the new length.Do not allo...

2019-03-25 22:49:16 166

原创 利用Aria2高速下载网盘文件

利用Aria2高速下载网盘文件方法步骤:下载文件解压arial2,运行aria2启动.VBS添加插件,解压BaiduExporter-master.zip在Google浏览器扩展程序中chrome://extensions加载已经解压的扩展程序选择BaiduExporter进行添加即可,打开网盘链接,你会发现网盘上面多出了一个导出下载,选择这个进行下载即可查看下载情况可以访...

2019-03-22 16:27:15 2625 1

原创 LeetCode算法入门- Remove Element -day20

LeetCode算法入门- Remove Element -day201. 题目描述Given an array nums and a value val, remove all instances of that value in-place and return the new length.Do not allocate extra space for another array, y...

2019-03-21 22:19:34 178

原创 LeetCode算法入门- Search Insert Position -day19

LeetCode算法入门- Search Insert Position -day19题目描述Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in or...

2019-03-20 21:56:56 239

原创 LeetCode算法入门- Multiply Strings -day18

LeetCode算法入门- Multiply Strings -day18题目介绍Given two non-negative integers num1 and num2 represented as strings, return the product of num1 and num2, also represented as a string.Example 1:Input: ...

2019-03-18 22:32:36 181

原创 LeetCode算法入门- Remove Nth Node From End of List -day17

LeetCode算法入门- Remove Nth Node From End of List -day17题目解释:Given a linked list, remove the n-th node from the end of list and return its head.Example:Given linked list: 1->2->3->4->5...

2019-03-14 18:51:54 159

原创 LeetCode算法入门- Generate Parentheses -day16

LeetCode算法入门- Generate Parentheses -day16题目描述Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses.For example, given n = 3, a solution set is:[...

2019-03-12 20:24:34 158

原创 LeetCode算法入门- Merge Two Sorted Lists -day15

LeetCode算法入门- Merge Two Sorted Lists -day15题目描述:Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists.Exampl...

2019-03-12 19:31:42 150

原创 LeetCode算法入门- Compare Version Numbers -day14

LeetCode算法入门- Compare Version Numbers -day14题目描述:Compare two version numbers version1 and version2.If version1 > version2 return 1; if version1 < version2 return -1;otherwise return 0.You ...

2019-03-10 10:35:11 255

原创 LeetCode算法入门- Longest Common Prefix -day13

LeetCode算法入门- Longest Common Prefix -day13题目描述:Write a function to find the longest common prefix string amongst an array of strings.If there is no common prefix, return an empty string “”.Examp...

2019-03-10 09:36:24 175

原创 LeetCode算法入门- Longest Valid Parentheses -day12

LeetCode算法入门- Longest Valid Parentheses -day12Given a string containing just the characters ‘(’ and ‘)’, find the length of the longest valid (well-formed) parentheses substring.题目描述:题目的意思是给定一个括号序列...

2019-03-09 16:46:09 174

原创 LeetCode算法入门- Valid Parentheses -day11

LeetCode算法入门- Valid Parentheses -day11题目描述:Given a string containing just the characters ‘(’, ‘)’, ‘{’, ‘}’, ‘[’ and ‘]’, determine if the input string is valid.An input string is valid if:Open br...

2019-03-09 16:36:54 151

原创 Java核心篇之HashMap--day6

Java核心篇之HashMap–day6HashMap是一种键值对的数据结构,以数组与链表的形式(key:value)实现,查询性能和添加性能很好。他是通过将key进行hashcode()映射函数来找到表中对应的位置。HashMap和Hashtable与LinkedHashMap以及TreeMap的区别:底层都是基于数组和链表来实现的;HashMap是非线程安全的,HashTabl...

2019-03-09 15:07:22 139

原创 Java核心篇之泛型--day5

Java核心篇之泛型–day5泛型是JDK5时引入的一个新特性,泛型提供了编译时类型安全检查的机制,该机制允许程序猿在编译时检测到非法的类型输入。泛型的本质是参数化类型,也就是说操作的类型被指定为一个参数。假定我们有一个需求:写一个排序方法,能够对整型数组、字符串数组甚至其他任何类型的数组进行排序,该如何实现?答案是可以使用 Java 泛型。泛型方法:该方法在调用的时候可以接收不同的参数...

2019-03-09 11:12:50 143

原创 Java核心篇之Redis--day4

Java核心篇之Redis–day4Redis有哪些数据结构?字符串String、字典Hash、列表List、集合Set、有序集合SortedSet。1.String:字符串,常用命令:get,set,decr,incr,mget(查询多个key)2.Hash类型:hset(添加赋值)/hget(查询)/hgetall(查询所有字段和值)等。3.list(列表类型):lpush(列表...

2019-03-08 21:11:53 138

原创 LeetCode算法入门- 4Sum -day11

LeetCode算法入门- 4Sum -day11Given an array nums of n integers and an integer target, are there elements a, b, c, and d in nums such that a + b + c + d = target? Find all unique quadruplets in the array ...

2019-03-08 17:09:21 137

原创 LeetCode算法入门- 3Sum Closest -day10

LeetCode算法入门- 3Sum Closest -day10Given an array nums of n integers and an integer target, find three integers in nums such that the sum is closest to target. Return the sum of the three integers. You...

2019-03-07 21:27:04 144

原创 Java核心篇之Java锁--day2

Java核心篇之Java锁–day2乐观锁:乐观锁是一种乐观思想,即认为读多写少,每次去取数据的时候都认为其他人不会修改,所以不会上锁;但是在更新的时候会判断一下在此期间别人有没有去修改它,如果有人修改的话,就需要重新尝试。实现的方式主要有以下两种:1) 版本号机制:一般是在数据表中加上一个数据版本号的version字段,表示数据被修改的次数,当数据被修改时,版本号就会+1,在提交更新时,若...

2019-03-06 23:06:14 302

原创 LeetCode算法入门- 3Sum -day9

LeetCode算法入门- 3Sum -day9题目描述:Given an array nums of n integers, are there elements a, b, c in nums such that a + b + c = 0? Find all unique triplets in the array which gives the sum of zero.Note:...

2019-03-06 20:23:24 139

原创 LeetCode算法入门- Roman to Integer && Integer to Roman -day8

LeetCode算法入门- Roman to Integer -day8Roman to Integer:题目描述:Roman numerals are represented by seven different symbols: I, V, X, L, C, D and M.Symbol    ValueI        1V        5X        10L   ...

2019-03-05 19:38:18 322

原创 LeetCode算法入门- String to Integer (atoi)-day7

LeetCode算法入门- String to Integer (atoi)-day7String to Integer (atoi):Implement atoi which converts a string to an integer.The function first discards as many whitespace characters as necessary until...

2019-03-04 20:09:02 146

原创 LeetCode算法入门- Reverse Integer-day6

LeetCode算法入门- Reverse Integer-day6Given a 32-bit signed integer, reverse digits of an integer.Example 1:Input: 123Output: 321Example 2:Input: -123Output: -321Example 3:Input: 120Output: 21c...

2019-03-03 21:13:09 186

原创 LeetCode算法入门- Longest Palindromic Substring-day5

LeetCode算法入门- Longest Palindromic Substring-day5Longest Palindromic SubstringGiven a string s, find the longest palindromic substring in s. You may assume that the maximum length of s is 1000.Examp...

2019-03-02 15:40:23 145

原创 LeetCode算法入门- Longest Substring Without Repeating Characters-day4

LeetCode算法入门- Longest Substring Without Repeating Characters-day4Longest Substring Without Repeating CharactersGiven a string, find the length of the longest substring without repeating characters....

2019-03-01 20:46:52 146

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除