- 博客(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
473
原创 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
343
原创 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
187
原创 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
360
原创 mybatis-generator生成逆向工程的DOS窗口使用方式
mybatis官方提供了一个叫做mybatis-generator的包,可以对数据库表进行逆向自动生成mybatis执行所需要的Pojo、Mapper.xml、Mapper Interface文件。 mybatis-generator可以通过DOS命令行窗口、eclipse等方式使用。 接下来要介绍的是DOS命令行窗口的使用方法(ps:个人感觉使用很方便)。 **第一步**:解压工程包,进入其中
2017-10-19 18:14:49
653
mybatis-generator1.3.2工程包
2017-10-19
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人