码迷,mamicode.com
首页 >  
搜索关键字:should be repaired    ( 4956个结果
[Leetcode]Swap Nodes in Pairs
Given a linked list, swap every two adjacent nodes and return its head.For example,Given1->2->3->4, you should return the list as2->1->4->3.Your algor...
分类:其他好文   时间:2015-03-17 23:31:28    阅读次数:146
Factorial Trailing Zeroes
Given an integern, return the number of trailing zeroes inn!.Note:Your solution should be in logarithmic time complexity.解析: 只有2和5相乘才会出现0,其中整十也可以看做是2和...
分类:其他好文   时间:2015-03-17 19:47:19    阅读次数:136
Server should be SSL-aware but has no certificate
运维配置ssl后导致apache无法启动,报错如下 [Tue Mar 17 16:23:36 2015] [error] Server should be SSL-aware but has no certificate configured [Hint: SSLCertificateFile] ((null):0) 解决方案: <virtualho...
分类:其他好文   时间:2015-03-17 18:21:58    阅读次数:133
emacs--在ubuntu14.04上安装emacs24.4
when configure the emacs:?? error like this! You seem to be running X, but no X development libraries were found. You should install the relevant development files for X and for the toolkit you ...
分类:系统相关   时间:2015-03-17 10:41:06    阅读次数:267
LeetCode-Single Number
Given an array of integers, every element appearstwiceexcept for one. Find that single one.Note:Your algorithm should have a linear runtime complexity...
分类:其他好文   时间:2015-03-17 02:00:44    阅读次数:102
Leetcode题1
Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the two nu...
分类:其他好文   时间:2015-03-16 22:49:35    阅读次数:133
leetcode题解||Median of Two Sorted Arrays问题
problem: There are two sorted arrays A and B of size m and n respectively. Find the median of the two sorted arrays. The overall run time complexity should be O(log (m+n)). thinking: (1)求中位数,就是求已...
分类:其他好文   时间:2015-03-16 21:26:18    阅读次数:162
switch_to 理解
最近看linux0.11源码时,看到任务切换函数switch_to,感觉很晦涩,于是在网上查了一些资料,现在终于有些眉目,特记录于此,以方便大家参考,有什么错误或不足之处,还请大家指出~switch_to源码/** switch_to(n) should switch tasks to task ....
分类:其他好文   时间:2015-03-16 20:51:22    阅读次数:167
Partition List
Given a linked list and a value x, partition it such that all nodes less than x come before nodes greater than or equal to x. You should preserve the original relative order of the nodes in each of...
分类:其他好文   时间:2015-03-16 17:55:05    阅读次数:105
【LeetCode从零单排】No 114 Flatten Binary Tree to Linked List
题目Given a binary tree, flatten it to a linked list in-place.For example,Given 1 / 2 5 / \ 3 4 6 The flattened tree should look like: 1 2 ...
分类:其他好文   时间:2015-03-16 16:33:35    阅读次数:121
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!