A1039.Course List for StudentZhejiang University has 40000 students and provides 2500 courses. Now given the student name lists of all the courses, yo ...
分类:
其他好文 时间:
2019-02-02 00:44:38
阅读次数:
179
https://pintia.cn/problem-sets/994805342720868352/problems/994805345401028608 For a student taking the online course "Data Structures" on China Univer ...
分类:
其他好文 时间:
2019-02-01 14:18:34
阅读次数:
185
You have not concluded your merge. (MERGE_HEAD exists) ...
分类:
其他好文 时间:
2019-02-01 11:31:19
阅读次数:
151
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. Example: ...
分类:
其他好文 时间:
2019-01-31 22:59:42
阅读次数:
198
在设计netty的编解码器过程中,有许多组件可以选择,这里由于咱对Protostuff比较熟悉,所以就用这个组件了。由于数据要在网络上传输,所以在发送方需要将类对象转换成二进制,接收方接收到数据后,需要将二进制转换成类对象,由于这个操作在之前的文章中有讲解过:网络传输数据序列化工具Protostuf ...
分类:
Web程序 时间:
2019-01-31 16:49:25
阅读次数:
222
[toc] 题目链接 " Merge Two Sorted Lists LeetCode" 注意点 和3Sum那道题一样 解法 解法一:在 "3Sum" 的基础上再加一层循环即可。时间复杂度为O(n^3) 解法二:看了评论得到的思路。先二重循环,将所有可能出现的两数之和的值map保存。然后再二重循环 ...
分类:
其他好文 时间:
2019-01-31 15:48:44
阅读次数:
146
var server = http.createServer(app); var io = require('socket.io')(server); //可以把 发送人数组lists以文件储存 //one=true 第一次发送 one=false 已经发送过一次 var lists=[{uid:1... ...
分类:
其他好文 时间:
2019-01-31 15:27:02
阅读次数:
132
简单的说就是,判断表中有没有符合on()条件中的数据,有了就更新数据,没有就插入数据。 有一个表T,有两个字段a、b,我们想在表T中做Insert/Update,如果条件满足,则更新T中b的值,否则在T中插入一条记录。在Microsoft的SQL语法中,很简单的一句判断就可以了,SQL Server ...
分类:
其他好文 时间:
2019-01-31 13:32:57
阅读次数:
163
一、jxl工具类 二 controller 中 ...
分类:
其他好文 时间:
2019-01-31 13:06:46
阅读次数:
120