In this tutorial I'll introduce another tool to help find possible problems in your code, PMD. It will check for empty blocks, unused variables or par...
分类:
其他好文 时间:
2015-05-21 22:11:11
阅读次数:
121
Problem DescriptionMany geometry(几何)problems were designed in the ACM/ICPC. And now, I also prepare a geometry problem for this final exam. According ...
分类:
其他好文 时间:
2015-05-21 21:43:33
阅读次数:
129
Problem DescriptionMany geometry(几何)problems were designed in the ACM/ICPC. And now, I also prepare a geometry problem for this final exam. According ...
分类:
其他好文 时间:
2015-05-21 19:09:59
阅读次数:
112
android studio中xml不能preview打开res/values/styles.xml ,如下:
</st...
分类:
移动开发 时间:
2015-05-21 09:13:29
阅读次数:
282
https://leetcode.com/problems/second-highest-salary/Second Highest SalaryWrite a SQL query to get the second highest salary from theEmployeetable.+---...
分类:
数据库 时间:
2015-05-21 01:19:24
阅读次数:
283
题目链接:https://leetcode.com/problems/sort-list//*题意:对链表进行排序*//** *思路:归并排序 * 分治:将链表分成两段:用slow和fast指针,slow每次只走一步,fast每次 * 走两步。当fast为空时,slow所在位置就...
分类:
编程语言 时间:
2015-05-20 18:12:21
阅读次数:
104
题目链接:https://leetcode.com/problems/swap-nodes-in-pairs//*题意:将链表相邻的两两结点交换*/class Solution {public: ListNode* swapPairs(ListNode* head) { if(h...
分类:
其他好文 时间:
2015-05-20 17:57:06
阅读次数:
112
light oj Beginners Problems
1000+1001+1006+1008+1010+1015+1022+1042+1045+1053+1069+1072+1107+1109+1113+1116+1133+1136+1182+1189+1202+1211+1212+1214+1216+1225+1227+1241+1249+1261+1294+1305+1311+1331+1338+1354+1387+1414+1433...
分类:
其他好文 时间:
2015-05-20 09:49:52
阅读次数:
194
https://leetcode.com/problems/word-ladder/ http://www.lintcode.com/zh-cn/problem/word-ladder/ 给出两个单词(start和end)和一个字典,找到从start到end的最短转换序列 比如: 每次只能改变一个字...
分类:
其他好文 时间:
2015-05-19 20:35:47
阅读次数:
122
https://leetcode.com/problems/reverse-linked-list/Reverse a singly linked list.解题思路:类似于插入排序,始终将当前节点插入到最前方。/** * Definition for singly-linked list. * p...
分类:
其他好文 时间:
2015-05-19 18:25:09
阅读次数:
76