码迷,mamicode.com
首页 >  
搜索关键字:one or more sections    ( 34236个结果
Merge k Sorted Lists
Mergeksorted linked lists and return it as one sorted list. Analyze and describe its complexity.思路:合并k个有序链表为一个有序链表。我们可以用先合并两个链表的方法,然后逐个遍历链表数组,与上一个合并结束...
分类:其他好文   时间:2014-05-12 15:07:06    阅读次数:305
<Effective Django>读书笔记
In Django parlance, a project is the final product, and it assembles one or more applications together.Manage.py is a pointer back to Django-admin.py ...
分类:其他好文   时间:2014-05-10 07:56:19    阅读次数:480
用ajax将后台数据传入前台js
1、后台连接数据库,取到数据string sql = ".......................................";string one = OracleHelperTools.ExecuteScalar(sql); //这里图省事用的oraclehelperstring fl...
分类:Web程序   时间:2014-05-10 06:15:07    阅读次数:405
[leetcode]Single Number @ Python
原题地址:http://www.cnblogs.com/x1957/p/3373994.html题意:Given an array of integers, every element appearstwiceexcept for one. Find that single one.要求:线性时间复...
分类:编程语言   时间:2014-05-10 05:22:27    阅读次数:408
Pat(Advanced Level)Practice--1076(Forwards on Weibo)
Pat1076代码 题目描述: Weibo is known as the Chinese version of Twitter. One user on Weibo may have many followers, and may follow many other users as well. Hence a social network is formed with foll...
分类:其他好文   时间:2014-05-10 04:50:24    阅读次数:403
hdu-1561 The more, The Better (树形dp入门,有依赖的背包问题
ACboy很喜欢玩一种战略游戏,在一个地图上,有N座城堡,每座城堡都有一定的宝物,在每次游戏中ACboy允许攻克M个城堡并获得里面的宝物。但由于地理位置原因,有些城堡不能直接攻克,要攻克这些城堡必须先攻克其他某一个特定的城堡。你能帮ACboy算出要获得尽量多的宝物应该攻克哪M个城堡吗?...
分类:其他好文   时间:2014-05-10 04:47:27    阅读次数:286
hdu 1325 Is It A Tree?
Problem DescriptionA tree is a well-known data structure that is either empty (null, void, nothing) or is a set of one or more nodes connected by dire...
分类:其他好文   时间:2014-05-10 03:18:52    阅读次数:374
[leetcode]Single Number II @ Python
原题地址:http://oj.leetcode.com/problems/single-number-ii/题意:Given an array of integers, every element appearsthreetimes except for one. Find that single ...
分类:编程语言   时间:2014-05-10 03:01:41    阅读次数:413
hdu 1856 More is better
Problem DescriptionMr Wang wants some boys to help him with a project. Because the project is rather complex,the more boys come, the better it will be...
分类:其他好文   时间:2014-05-10 02:41:33    阅读次数:291
hdu 1561The more, The Better(树形dp&01背包)
The more, The Better Time Limit: 6000/2000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 4949    Accepted Submission(s): 2918 Problem Description ACboy...
分类:其他好文   时间:2014-05-09 20:49:51    阅读次数:307
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!