自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

Just Do It!

努力到无能为力,拼搏到感动自己

  • 博客(9)
  • 资源 (2)
  • 收藏
  • 关注

原创 LeetCode刷题Medium篇寻找字符串中最长的回文子串(动态规划解法)

题目Given a strings, find the longest palindromic substring ins. You may assume that the maximum length ofsis 1000.Example 1:Input: "babad"Output: "bab"Note: "aba" is also a valid answer....

2018-10-31 19:52:27 1118

原创 LeetCode刷题EASY篇如何快速反转一个字符串

题目Write a function that takes a string as input and returns the string reversed.Example 1:Input: "hello"Output: "olleh"Example 2:Input: "A man, a plan, a canal: Panama"Output: "amanaP :...

2018-10-31 19:47:44 466

原创 LeetCode刷题EASY篇反转一个带符号的整数

题目Given a 32-bit signed integer, reverse digits of an integer.Example 1:Input: 123Output: 321Example 2:Input: -123Output: -321Example 3:Input: 120Output: 21Note:Assume we are...

2018-10-31 18:12:16 281

原创 java架构篇NodeJS,Vue,前后端分离都是什么鬼

1.Node.JSnode.js是开源的,跨平台的,浏览器之外的Js运行环境。前后端统一语言开发。主要特点事件驱动 异步IO 基于Google的V8引擎,V8引擎执行Javascript的速度非常快,性能非常好 单线程,单进程优点:容易学习,全栈开发----统一语言 高并发----异步IO 高性能 ---JS直接转换为机器码,处理性能更高 高吞吐量和扩展性 适合IO密集...

2018-10-29 12:07:28 2404

原创 LeetCode刷题Medium篇两个倒序链表数字相加

题目You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers and retu...

2018-10-26 10:30:01 411

原创 LeetCode刷题Medium篇int型数组,求k个连续数的最大和(滑动窗口解法)

题目Given an array of integers of size ‘n’.Our aim is to calculate the maximum sum of ‘k’ consecutive elements in the array.Input : arr[] = {100, 200, 300, 400} k = 2Output : 700Input ...

2018-10-25 17:45:11 849

原创 LeetCode刷题Medium篇寻找字符串中最长的不重复子串(滑动窗口解法)

题目Given a string, find the length of the longest substring without repeating characters.Example 1:Input: "abcabcbb"Output: 3 Explanation: The answer is "abc", with the length of 3. Example...

2018-10-19 14:55:18 1169

原创 LeetCode刷题Medium篇int型数组,求满足和等于k的连续子数组个数

题目Given an array of integers and an integer k, you need to find the total number of continuous subarrays whose sum equals to k.Example 1:Input:nums = [1,1,1], k = 2Output: 2Note:The lengt...

2018-10-16 17:01:30 1536

原创 LeetCode刷题Easy篇在整型数组寻找两个数的和等于指定数

题目:Given an array of integers, return indices of the two numbers such that they add up to a specific target.You may assume that each input would have exactly one solution, and you may not use the ...

2018-10-12 11:39:46 374

Spring AMQP 集成完整代码,可运行

Spring AMQP实例 以及Spring 配置文件动态注入属性使用实战

2015-02-04

java排序算法

排序算法的java和c实现,有思路有代码,值得学习!!!

2012-04-15

空空如也

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

TA关注的人

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