自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(5)
  • 资源 (1)
  • 收藏
  • 关注

原创 lintcode 1410. 矩阵注水(java)迷宫类问题

题目: 给一个二维矩阵,每个grid的值代表地势的高度。水流只会沿上下左右流动,且必须从地势高的地方流向地势低的地方。视为矩阵四面环水,现在从(R,C)处注水,问水能否流到矩阵外面去? 样例: 1.给出 mat = [ [10,18,13], [9,8,7], [1,2,3] ] R = 1, ...

2018-05-24 14:10:28 419

原创 Lintcode 553.Bomb Enemy

Lintcode 553.Bomb Enemy Java解法 题目: Given a 2D grid, each cell is either a wall ‘W’, an enemy ‘E’ or empty ‘0’ (the number zero), return the maximum enemies you can kill using one bomb. The bomb kil...

2018-05-07 16:40:29 292

原创 Lintcode784 The Longest Common Prefix II

题目 Given n strings and a target string, output the maximum length of the longest common prefix of the target string with the given n strings. example Give [“abcba”,”acc”,”abwsf”],target = “abse”,re...

2018-04-13 16:12:05 141

原创 lintcode949.Fibonacci II (利用矩阵快速幂)

lintcode949.Fibonacci II (利用矩阵快速幂) 题目: In the Fibonacci integer sequence, F0 = 0, F1 = 1, and Fn = Fn − 1 + Fn − 2 for n ≥ 2. For example, the first ten terms of the Fibonacci sequence are:0,1,1,2...

2018-04-13 16:06:23 335

原创 mybatis-generator生成逆向工程的DOS窗口使用方式

mybatis官方提供了一个叫做mybatis-generator的包,可以对数据库表进行逆向自动生成mybatis执行所需要的Pojo、Mapper.xml、Mapper Interface文件。 mybatis-generator可以通过DOS命令行窗口、eclipse等方式使用。 接下来要介绍的是DOS命令行窗口的使用方法(ps:个人感觉使用很方便)。 **第一步**:解压工程包,进入其中

2017-10-19 18:14:49 599

mybatis-generator1.3.2工程包

mybatis官方提供了一个叫做mybatis-generator的包,可以对数据库表进行逆向自动生成mybatis执行所需要的Pojo、Mapper.xml、Mapper Interface文件。

2017-10-19

空空如也

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

TA关注的人

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