码迷,mamicode.com
首页 >  
搜索关键字:should be repaired    ( 4956个结果
C app
1,C 输入输出字符串另一种方法gets/puts 函数warning: the `gets' function is dangerous and should not be used2,C 程序中使用system执行OS 命令行,并在system中使用变量(实现linux passwordLess...
分类:移动开发   时间:2015-03-30 20:47:27    阅读次数:141
【LeetCode OJ】Two Sum
题目: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...
分类:其他好文   时间:2015-03-30 20:38:15    阅读次数:122
[LeetCode] Median of Two Sorted Arrays
Median of Two Sorted Arrays 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)). 解题...
分类:其他好文   时间:2015-03-30 16:37:48    阅读次数:126
Partition List
Given a linked list and a valuex, partition it such that all nodes less thanxcome before nodes greater than or equal tox.You should preserve the origi...
分类:其他好文   时间:2015-03-29 23:33:04    阅读次数:140
倒排索引原理
这里介绍一个基础的搜索引擎技术 假如有两段文字 1,books and friends should be few but good 2,A good book is a good friend 假如我们忽略掉大小写和复数,可以整理出一张单词表,显示哪个单词再哪段文字, 英文单词 文章编号 a 2 and 1 be 1 bo...
分类:其他好文   时间:2015-03-29 22:17:03    阅读次数:450
LeetCode First Missing Positive
Given an unsorted integer array, find the first missing positive integer.For example,Given [1,2,0] return 3,and [3,4,-1,1] return 2.Your algorithm should run in O(n) time and uses constant space.思路分析:...
分类:其他好文   时间:2015-03-29 13:39:00    阅读次数:106
【经典】Median of Two Sorted Arrays
题目:leetcode Median of Two Sorted Arrays   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 ...
分类:其他好文   时间:2015-03-29 12:23:21    阅读次数:143
【SICP练习】133 练习3.64
练习3-64原文Exercise 3.64. Write a procedure stream-limit that takes as arguments a stream and a number (the tolerance). It should examine the stream until it finds two successive elements that differ in...
分类:其他好文   时间:2015-03-29 09:31:45    阅读次数:133
leetcode------Two Sum
标题:Two Sum通过率:17.9%难度:中等Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should retu...
分类:其他好文   时间:2015-03-28 21:32:14    阅读次数:110
Spiral Matrix II -- leetcode
Given an integer n, generate a square matrix filled with elements from 1 to n2 in spiral order. For example, Given n = 3, You should return the following matrix: [ [ 1, 2, 3 ], [ 8, 9, 4 ], [ ...
分类:其他好文   时间:2015-03-28 17:17:30    阅读次数:124
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!