Given a sorted array, remove the duplicates in place such that each element appear only once and return the new length.
分类:
其他好文 时间:
2014-06-27 12:30:03
阅读次数:
200
Merge k sorted linked lists and return it as one sorted list. Analyze and describe its complexity.
分类:
其他好文 时间:
2014-06-27 12:29:18
阅读次数:
294
You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single ...
分类:
其他好文 时间:
2014-06-27 12:21:24
阅读次数:
215
Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endpo...
分类:
其他好文 时间:
2014-06-27 12:20:47
阅读次数:
245
Suppose a sorted array is rotated at some pivot unknown to you beforehand.
分类:
其他好文 时间:
2014-06-27 12:11:09
阅读次数:
181
The n-queens puzzle is the problem of placing n queens on an n×n chessboard such that no two queens attack each other.
分类:
其他好文 时间:
2014-06-27 12:05:45
阅读次数:
251
题目: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 ...
分类:
其他好文 时间:
2014-06-27 11:55:43
阅读次数:
187
题目:You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a sing...
分类:
其他好文 时间:
2014-06-27 11:38:12
阅读次数:
207
Triangle War
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 2685
Accepted: 1061
Description
Triangle War is a two-player game played on the following tria...
分类:
其他好文 时间:
2014-06-27 09:34:45
阅读次数:
286
1、错误描述
六月 26, 2014 10:44:49 下午 freemarker.log.JDK14LoggerFactory$JDK14Logger error
严重: Template processing error: "The only legal comparisons are between two numbers, two strings, or two dates.\nLeft...
分类:
其他好文 时间:
2014-06-27 07:21:12
阅读次数:
196