码迷,mamicode.com
首页 >  
搜索关键字:describe    ( 1114个结果
leecode 题解 || Merge k Sorted Lists 问题
problem: Merge k sorted linked lists and return it as one sorted list. Analyze and describe its complexity. Tags Divide and Conquer Linked List Heap 合并K个已序单链表 thinking:  (1)题目没有要求不可以新开ListN...
分类:其他好文   时间:2015-03-20 16:24:45    阅读次数:114
POJ3150---Cellular Automaton(矩阵)
DescriptionA cellular automaton is a collection of cells on a grid of specified shape that evolves through a number of discrete time steps according to a set of rules that describe the new state of a c...
分类:其他好文   时间:2015-03-17 21:52:30    阅读次数:130
hdu 1542 Atlantis 线段树求面积并,,,尼玛数据真坑人,数组千万不能开小!
Problem Description There are several ancient Greek texts that contain descriptions of the fabled island Atlantis. Some of these texts even include maps of parts of the island. But unfortunately, these maps describe different regions of Atlantis. Your frie...
分类:编程语言   时间:2015-03-17 12:34:18    阅读次数:182
/*程序员面试宝典*/Which of the following statements describe the results of executing the code snippet below in C++?
Which of the following statements describe the results of executing the code snippet below in C++?1 int i;2 3 void main()4 5 {6 7 int i = i;8 9 }A...
分类:编程语言   时间:2015-03-14 22:55:26    阅读次数:169
Merge k Sorted Lists
Merge k Sorted Lists问题:Mergeksorted linked lists and return it as one sorted list. Analyze and describe its complexity.思路: 归并排序(二分问题)我的代码:public clas....
分类:其他好文   时间:2015-03-13 10:45:10    阅读次数:120
(纯代码)图片浏览器:
#import "ViewController.h"#define kImage @"image"#define kDescribe @"describe"@interface ViewController ()@property (nonatomic, weak) UIImageView *pro...
分类:其他好文   时间:2015-03-12 00:50:27    阅读次数:132
bind
var jane = { hoho: 'Jane', describe: function() { return 'Person named ' + this.hoho; }};var fun = jane.describe; // this 是全局windowcon...
分类:其他好文   时间:2015-03-11 19:26:51    阅读次数:103
MySQL 表的命令
1、查看表的结构: desc 表名; show columns from 表名; describe 表名; show create table 表名;2、修改表名 rename table 原表名 to 新表名; 例如:在表MyClass名字更改为YouClass mysql>...
分类:数据库   时间:2015-03-10 11:43:49    阅读次数:148
LeetCode | # 23
题目: Merge k sorted linked lists and return it as one sorted list. Analyze and describe its complexity. 思路: 解法一:维护一个大小为k的堆,每次去堆顶的最小元素放到结果中,然后读取该元素的下一个元素放入堆中,重新维护好。因为每个链表是有序的,每次又是去当前k个元素中最小的,...
分类:其他好文   时间:2015-03-09 22:32:10    阅读次数:203
1114条   上一页 1 ... 96 97 98 99 100 ... 112 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!