码迷,mamicode.com
首页 >  
搜索关键字:search    ( 12380个结果
Sample-Code:Bing Search API
Demo link: http://code.msdn.microsoft.com/windowsazure/How-to-use-bing-search-API-4c8b287eAspx Code: ...
分类:Windows程序   时间:2014-07-16 22:52:07    阅读次数:432
Programming Assignment 4: 8 Puzzle
The Problem. 求解8数码问题。用最少的移动次数能使8数码还原. Best-first search.使用A*算法来解决,我们定义一个Seach Node,它是当前搜索局面的一种状态,记录了从初始到达当前状态的移动次数和上一个状态。初始化时候,当前状态移动次数为0,上一个状态为null,将...
分类:其他好文   时间:2014-07-16 21:29:13    阅读次数:187
Javascript获取地址栏参数值
采用正则表达式获取地址栏参数:function GetQueryString(name){ var reg = new RegExp("(^|&)"+ name +"=([^&]*)(&|$)"); var r = window.location.search.substr(1).m...
分类:编程语言   时间:2014-07-16 20:11:22    阅读次数:208
leetcode题解:Search for a Range (已排序数组范围查找)
题目:Given a sorted array of integers, find the starting and ending position of a given target value.Your algorithm's runtime complexity must be in the ...
分类:其他好文   时间:2014-07-16 19:48:18    阅读次数:263
poj 2309 BST(数学题)
BSTTime Limit:1000MSMemory Limit:65536KTotal Submissions:8440Accepted:5093DescriptionConsider an infinite full binary search tree (see the figure belo...
分类:其他好文   时间:2014-07-13 11:22:45    阅读次数:251
Docker常用命令
Docker常用命令目录搜索镜像获取容器镜像创建实例查看容器列表创建镜像移除一个或多个容器实例删除镜像搜索镜像从Docker Hub搜索镜像. COMAND: $ sudo docker search TERM OPTIONS: --automated=false 是否仅显示自动...
分类:其他好文   时间:2014-07-13 08:05:10    阅读次数:297
【LeetCode】Search Insert Position (2 solutions)
Search Insert PositionGiven a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if ...
分类:其他好文   时间:2014-07-11 09:09:33    阅读次数:211
POJ-2201-Cartesian Tree(笛卡尔树)
Description Let us consider a special type of a binary search tree, called a cartesian tree. Recall that a binary search tree is a rooted ordered binary tree, such that for its every node x the fol...
分类:其他好文   时间:2014-07-11 00:12:52    阅读次数:379
ios系统提示音的使用(不是铃声)
AudioServices Jump to: navigation, search AudioServices is a group of C functions in AudioToolbox for playing short (≤30 seconds) sounds. Predefined sounds There are some predefined system s...
分类:移动开发   时间:2014-07-10 17:29:49    阅读次数:396
Binary search for the first element greater than target
We all know how to search through an array for an element whose value equals the target value, but how to search for the element that has value greate...
分类:其他好文   时间:2014-07-10 16:08:21    阅读次数:168
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!