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 ...
分类:
其他好文 时间:
2014-12-16 06:30:09
阅读次数:
131
DescriptionIgnatius had a nightmare last night. He found himself in a labyrinth with a time bomb on him. The labyrinth has an exit, Ignatius should ge...
分类:
Web程序 时间:
2014-12-16 06:28:33
阅读次数:
271
题目:
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 numbers such that they add up to the target, ...
分类:
其他好文 时间:
2014-12-15 23:37:57
阅读次数:
224
A path to the file is constructed by merely adding a URI to the value of therootdirective. If a URI has to be modified, thealiasdirective should be us...
分类:
其他好文 时间:
2014-12-15 23:16:01
阅读次数:
389
Given a linked list, reverse the nodes of a linked list k at a time and return its modified list.
If the number of nodes is not a multiple of k then left-out nodes in the end should remain as it is...
分类:
其他好文 时间:
2014-12-15 21:46:00
阅读次数:
229
Write a complete program that will correctly decode a set of characters into a valid message. Your program should read a given file of a simple coded ...
分类:
编程语言 时间:
2014-12-15 16:46:15
阅读次数:
225
ref:http://stackoverflow.com/questions/271743/whats-the-difference-between-b-and-strong-i-and-emThey have thesame effect on normal web browser renderi...
分类:
Web程序 时间:
2014-12-14 15:47:08
阅读次数:
297
题目
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 numbers such that they add up to the tar...
分类:
其他好文 时间:
2014-12-13 16:34:35
阅读次数:
169
题目为:
Given an array of integers, every element appears twice except for one. Find that single one.
Note:
Your algorithm should have a linear runtime complexity. Could you implement it without...
分类:
其他好文 时间:
2014-12-12 23:39:44
阅读次数:
473
题目
Given a linked list, reverse the nodes of a linked list k at a time and return its modified list.
If the number of nodes is not a multiple of k then left-out nodes in the end should remain ...
分类:
其他好文 时间:
2014-12-12 19:06:05
阅读次数:
133