A valid parentheses string is either empty (""), "(" + A + ")", or A + B, where A and B are valid parentheses strings, and +represents string concaten ...
分类:
其他好文 时间:
2019-12-31 14:44:42
阅读次数:
90
EventsAn event is a simple synchronization object;一个事件就是一个简单的同步对象;the event represents an internal flag, 事件代表一个内部标记,and threads can wait for the flag ... ...
分类:
其他好文 时间:
2019-12-30 11:51:51
阅读次数:
100
异常截图: 报错原因:因为安装mysql的时候默认的是美国的时区,而我们中国所在地区时区与美国不一样所导致 解决方法:在url后面添加 ?serverTimezone=UTC 修改后的代码: public static void main(String[] args){ try { Class.fo ...
分类:
数据库 时间:
2019-12-29 15:15:47
阅读次数:
108
Description Description There are n houses on a line. Given an array A and A[i] represents the position of i-th house. Now you need to pick k position ...
分类:
其他好文 时间:
2019-12-21 22:21:13
阅读次数:
107
Description Given an expression s contains numbers, letters and brackets. Number represents the number of repetitions inside the brackets(can be a str ...
分类:
其他好文 时间:
2019-12-21 15:21:13
阅读次数:
81
Given an array of non-negative integers, you are initially positioned at the first index of the array. Each element in the array represents your maxim ...
分类:
其他好文 时间:
2019-12-17 13:28:04
阅读次数:
80
Given an array of non-negative integers, you are initially positioned at the first index of the array. Each element in the array represents your maxim ...
分类:
其他好文 时间:
2019-12-16 13:29:17
阅读次数:
92
原题链接在这里:https://leetcode.com/problems/unique-paths-iii/ 题目: On a 2-dimensional grid, there are 4 types of squares: 1 represents the starting square. T ...
分类:
其他好文 时间:
2019-12-16 09:15:54
阅读次数:
94
SpringBoot在连接数据库的时候会出现这种情况,大家不必惊慌,只需修改一下代码就行。 解决方法: 在URL上加上:?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf 8 ...
分类:
数据库 时间:
2019-12-14 13:40:00
阅读次数:
85
Given a linked list, determine if it has a cycle in it. To represent a cycle in the given linked list, we use an integer pos which represents the posi ...
分类:
其他好文 时间:
2019-12-13 14:14:31
阅读次数:
109