- 博客(6)
- 资源 (1)
- 收藏
- 关注
原创 [leedcode]--53. Maximum Subarray
Find the contiguous subarray within an array (containing at least one number) which has the largest sum.For example, given the array [-2,1,-3,4,-1,2,1,-5,4], the contiguous subarray [4,-1,2,1] has the
2017-08-22 15:14:40 229
原创 [leedcode]–35. Search Insert Position
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 order.You may assume no duplicates in the array.Here
2017-08-20 16:32:54 218
原创 [leedcode]-- 27. Remove Element
[leedcode]– Given an array and a value, remove all instances of that value in place and return the new length.Do not allocate extra space for another array, you must do this in place with constant me
2017-08-20 11:05:02 233
原创 [leetcode]--26. Remove Duplicates from Sorted Array
Given a sorted array, remove the duplicates in place such that each element appear only once and return the new length.Do not allocate extra space for another array, you must do this in place with cons
2017-08-20 09:06:12 193
原创 [leetcode]--1. Two Sum
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 same ele
2017-08-18 14:24:46 204
原创 spring mvc的几种返回值的总结
总结返回值之前先简要回顾下spring mvc的工作原理,对返回值的理解有一些帮助:spring mvc 的框架结构: (图片来自网络)1、用户在浏览器发送页面地址请求到java代码程序中,spring mvc中的dispatcherServlet控制器负责总调度 2、根据用户的地址请求对应寻找处理器映射器handlermapping,大概就是代码中的@requestmapping, 3、
2017-08-05 11:26:13 6934
亲测可用基于 SpringBoot+Maven+Mybatis+Redis+RabbitMQ 高并发秒杀系统
2019-06-01
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人