Given an integer n, generate a square matrix filled with elements from 1 to n 2 in spiral order. For example,Given n =3, You should return the followi ...
分类:
其他好文 时间:
2018-09-13 01:22:47
阅读次数:
194
Ryuji is not a good student, and he doesn't want to study. But there are n books he should learn, each book has its knowledge a[i]a[i]. Unfortunately, ...
分类:
其他好文 时间:
2018-09-13 01:17:21
阅读次数:
184
Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists. 合并两个有序链表 ...
分类:
其他好文 时间:
2018-09-12 01:12:07
阅读次数:
166
首先安装了 MySQL 5.5 后面版本不对 导致很多问题 脑子一转 又装了个当前最新 5.7 发现还是版本不对 各种so找不到或者 符号未定义 最后全卸掉装5.6,终于可以了 前后折腾两三天 (本文整理自网络,自己一路踩坑过来 行之有效) 首先 卸载老版本MySQL rpm -qa | grep ...
分类:
数据库 时间:
2018-09-12 00:00:46
阅读次数:
230
有时候导入一些module时,会出现以下问题 1 这是因为module中可能依赖了不同的支持库,版本不一样。 解决办法 在项目根目录的build.gradle中加入以下代码 将details.useVersion后的值替换为统一的版本. ...
分类:
移动开发 时间:
2018-09-11 16:07:18
阅读次数:
568
Ryuji is not a good student, and he doesn't want to study. But there are n books he should learn, each book has its knowledge a[i]a[i]. Unfortunately, ...
分类:
编程语言 时间:
2018-09-10 19:08:45
阅读次数:
216
Ryuji is not a good student, and he doesn't want to study. But there are n books he should learn, each book has its knowledge a[i]a[i]. Unfortunately, ...
分类:
其他好文 时间:
2018-09-09 23:11:16
阅读次数:
289
262144K Ryuji is not a good student, and he doesn't want to study. But there are n books he should learn, each book has its knowledge a[i]a[i]. Unfort ...
分类:
其他好文 时间:
2018-09-09 22:15:52
阅读次数:
252
Description Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lis ...
分类:
其他好文 时间:
2018-09-08 22:26:16
阅读次数:
169
Use bfs The given is [[1,0]] To take course 1 you should have finished course 0. So it is possible. So we need to convert the input into something lik ...
分类:
其他好文 时间:
2018-09-08 11:48:03
阅读次数:
159