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 ...
分类:
编程语言 时间:
2015-01-24 08:57:54
阅读次数:
148
题目链接:HDU 1102 Constructing RoadsConstructing RoadsProblem DescriptionThere are N villages, which are numbered from 1 to N, and you should build some r...
分类:
其他好文 时间:
2015-01-23 22:43:08
阅读次数:
245
题目: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-01-23 21:18:04
阅读次数:
239
My goal for 2015 is to accomplish the goals of 2014 which I should have done in 2013 because I made a promise in 2012 & planned in 2011...
分类:
其他好文 时间:
2015-01-23 19:59:44
阅读次数:
119
Factorial Trailing Zeroes2015.1.23 18:46Given an integern, return the number of trailing zeroes inn!.Note:Your solution should be in logarithmic time ...
分类:
其他好文 时间:
2015-01-23 19:55:02
阅读次数:
459
Problem D - Maximum Product
Time Limit: 1 second
Given a sequence of integers S = {S1, S2, ..., Sn}, you should determine what is the value of the maximum positive product involving cons...
分类:
其他好文 时间:
2015-01-23 18:27:41
阅读次数:
165
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.Hide Tags...
分类:
其他好文 时间:
2015-01-23 17:53:13
阅读次数:
162
DescriptionIgnatius likes to write words in reverse way. Given a single line of text which is written by Ignatius, you should reverse all the words an...
分类:
其他好文 时间:
2015-01-23 13:10:17
阅读次数:
115
物理页面 /* * Try to keep the most commonly accessed fields in single cache lines * here (16 bytes or greater). This ordering should be particularly * b.....
分类:
系统相关 时间:
2015-01-22 23:06:34
阅读次数:
208
题目描述:Two SumGiven an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices o...
分类:
其他好文 时间:
2015-01-22 21:34:11
阅读次数:
167