Sort a linked list inO(nlogn) time using
constant space complexity./** * Definition for singly-linked list. * struct
ListNode { * int val; * L...
分类:
其他好文 时间:
2014-06-06 20:01:30
阅读次数:
333
function checkTime(){ var
dateInp=$("#dateInp").val(); var day1=Date.parse(dateInp.replace(/-/g, "/"));
var nowDate = new Date(); var date...
分类:
其他好文 时间:
2014-06-04 18:53:52
阅读次数:
277
class Solution {public: ListNode
*mergeKLists(vector &lists) { ListNode* merged = NULL; for (int i=0; ival
val) { n...
分类:
其他好文 时间:
2014-06-03 13:26:43
阅读次数:
219
原题地址:https://oj.leetcode.com/problems/evaluate-reverse-polish-notation/题意:Evaluate
the value of an arithmetic expression inReverse Polish Notation.Val...
分类:
编程语言 时间:
2014-06-03 11:18:22
阅读次数:
335
题目链接又是一个考察对链表基本操作的题目附上代码: 1 /** 2 * Definition for
singly-linked list. 3 * struct ListNode { 4 * int val; 5 * ListNode *next; 6 *
Lis...
分类:
其他好文 时间:
2014-06-02 12:00:52
阅读次数:
226
递归一下
/**
* Definition for singly-linked list.
* struct ListNode {
* int val;
* ListNode *next;
* ListNode(int x) : val(x), next(NULL) {}
* };
*/
class Solution {
public:
Li...
分类:
其他好文 时间:
2014-06-01 17:35:40
阅读次数:
406
Warning: Latch
audio_deal:audio_deal_inst|val_vrefl[2] has unsafe behavior Warning: Ports D and
ENA on the latch are fed by the same signal audio_dea....
分类:
其他好文 时间:
2014-05-30 16:23:13
阅读次数:
843
Sort a linked list inO(nlogn) time using
constant space complexity./** * Definition for singly-linked list. * struct
ListNode { * int val; * L...
分类:
其他好文 时间:
2014-05-30 15:17:18
阅读次数:
312
Sort a linked list using insertion sort./** *
Definition for singly-linked list. * struct ListNode { * int val; * ListNode
*next; * ListNo...
分类:
其他好文 时间:
2014-05-30 15:14:27
阅读次数:
245
团队开发告一小段落,效绩考核如下:赵顺杰马帅强节振华冯渊尚矫健是否按时到会10010010060100会上积极发言100100100100100按时完成各自工作8080808080不干扰他人100100100100100总分380380380340380冯渊虽然很少开会,但他在找客户上付出了自己的一...
分类:
其他好文 时间:
2014-05-30 14:25:44
阅读次数:
156