1、对于Hibernate和MyBatis的区别与利弊,谈谈你的看法 Hibernate与MyBatis的对比: 1.MyBatis非常简单易学,与Hibernate相对较复杂,门槛较高; 2.二者都是比较优秀的开源产品; 3.当系统属于二次开发,无法对数据库结构做到控制和修改,那MyBatis的灵 ...
分类:
其他好文 时间:
2020-06-30 11:05:18
阅读次数:
58
****************************************************************************** This perl implementation doesn't produce Unix like paths (with forward ...
分类:
其他好文 时间:
2020-06-30 09:14:47
阅读次数:
205
Jump Game II (H) 题目 Given an array of non-negative integers, you are initially positioned at the first index of the array. Each element in the array r ...
分类:
其他好文 时间:
2020-06-30 09:14:16
阅读次数:
59
A robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below). The robot can only move either down or right at any p ...
分类:
其他好文 时间:
2020-06-29 20:01:24
阅读次数:
82
这题和62题类似,只不过这里多了障碍物,只需要把有障碍物的格子的方案数设置为0即可,其他格子还是原来的走法。 class Solution { public: int uniquePathsWithObstacles(vector<vector<int>>& obstacleGrid) { int ...
分类:
其他好文 时间:
2020-06-29 11:41:08
阅读次数:
36
Given an array of unique integers salary where salary[i] is the salary of the employee i. Return the average salary of employees excluding the minimum ...
分类:
其他好文 时间:
2020-06-29 09:59:02
阅读次数:
56
Given a collection of integers that might contain duplicates, nums, return all possible subsets (the power set). Note: The solution set must not conta ...
分类:
其他好文 时间:
2020-06-29 00:11:37
阅读次数:
54
罗马数字包含以下七种字符: I, V, X, L,C,D 和 M。 字符 数值 I 1 V 5 X 10 L 50 C 100 D 500 M 1000 例如, 罗马数字 2 写做 II ,即为两个并列的 1。12 写做 XII ,即为 X + II 。 27 写做 XXVII, 即为 XX + V ...
分类:
其他好文 时间:
2020-06-28 20:46:27
阅读次数:
53
罗马数字包含以下七种字符: I, V, X, L,C,D 和 M。字符 数值I 1V 5X 10L 50C 100D 500M 1000例如, 罗马数字 2 写做 II ,即为两个并列的 1。12 写做 XII ,即为 X + II 。 27 写做 XXVII, 即为 XX + V + II 。通常 ...
分类:
其他好文 时间:
2020-06-28 13:39:42
阅读次数:
56
第一次参加 LeetCode 的比赛,花了1小时多一点才AK,不过还是感觉挺好玩的。 前面3题实在太无聊了,就不说了。只记录一下有意思的第4题。 5435. 并行课程 II 题意:给你一个整数 n 表示某所大学里课程的数目,编号为 1 到 n ,数组 dependencies 中, dependen ...
分类:
其他好文 时间:
2020-06-28 09:35:31
阅读次数:
90