- 博客(3)
- 收藏
- 关注
原创 LeetCode 941. Valid Mountain Array
Given an array A of integers, return true if and only if it is a valid mountain array.Recall that A is a mountain array if and only if:A.length >= 3 There exists some i with 0 < i < A.le...
2018-11-27 12:07:55 203
原创 LeetCode 922 : Sort Array By Parity II
Given an array A of non-negative integers, half of the integers in A are odd, and half of the integers are even.Sort the array so that whenever A[i] is odd, i is odd; and whenever A[i] is even, i is...
2018-11-26 12:18:34 132
原创 Mac IDEA下Java项目的端口占用问题的解决
在使用IDEA进行开发时,可能由于异常退出或者一些原因,重启后启动项目就会出现端口占用问题而无法启动。本人方法是使用 lsof -i:端口号 找到进程的PID。然后使用 kill -9 进程PID 将其杀死。再启动项目即可成功。以上即是本人的解决方案,有问题欢迎交流。...
2018-11-08 10:40:42 1120
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人