- 博客(5)
- 收藏
- 关注
转载 【Leetcode】11. Container With Most Water (medium)
11. Container With Most Water (medium) 描述 Given n non-negative integers a1, a2, ..., an , where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endpoin...
2018-10-03 17:49:00
205
转载 【Leetcode】15. 3Sum (medium)
15. 3Sum (medium) 描述 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: The so...
2018-10-02 00:29:00
202
转载 【Leetcode】73.SetMatrixZeroes(medium)
描述 Given a m × n matrix, if an element is 0, set its entire row and column to 0. Do it in place. Follow up: Did you use extra space? A straight forward solution using O(mn) space is probably a ba...
2018-08-26 10:11:00
169
转载 Netty源码阅读系列之源码导入eclipse
下载 github地址:点击下载netty 目前github中netty的版本为4.1 编译 打开下载的源码所在目录,执行命令: mvn clean compile 出现checkstyle问题。CheckStyle是maven的一个模块用以检测代码风格的,比如缩进是使用空格还是Tab,netty使用它来规范代码格式,避免低级语法错误。如果要为netty贡献代码,这个很重要,但是自己导入...
2018-08-25 12:31:00
289
转载 优雅的Java工具库Lombok
优雅的Java工具库Lombok 最近在公司的项目中看到了对于Lombok的应用,通过@Data注解标注POJO,省略了大量的getter/setter代码,原先冗长的POJO在瘦身之后直接变得干净、清爽,程序员再也不需要去关注那些长长的方法,只需要集中注意力于字段field之中 Lombok简介 Lombok是一个非常实用的Java工具库,有效地简化Java代码的冗长。它通过注解如@D...
2018-08-19 16:17:00
288
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅