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-06-27 13:03:49
阅读次数:
136
一、前言图形的绘制可以使用glBegin()、glEnd()之间完成,绘制的框架代码可以使用Delphi下OpenGL2d绘图(01)-初始化中的代码。修改的部份为 Draw 函数的内容。二、画点使用glPointSize 函数指定栅格化点的直径。默认为1.0,只在GL_POINTS下起作用,关于消...
分类:
其他好文 时间:
2014-06-27 13:01:02
阅读次数:
170
Given an array of integers, find two numbers such that they add up to a specific target number.
分类:
其他好文 时间:
2014-06-27 12:59:50
阅读次数:
176
Divide two integers without using multiplication, division and mod operator.
分类:
其他好文 时间:
2014-06-27 12:50:12
阅读次数:
253
Given a linked list, swap every two adjacent nodes and return its head.
分类:
其他好文 时间:
2014-06-27 12:42:55
阅读次数:
198
Given two numbers represented as strings, return multiplication of the numbers as a string.
分类:
其他好文 时间:
2014-06-27 12:38:25
阅读次数:
169
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
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
merge two array by order...
分类:
编程语言 时间:
2014-06-26 08:16:05
阅读次数:
246