码迷,mamicode.com
首页 >  
搜索关键字:keywords search    ( 12950个结果
python 学习笔记re
在学习python的过程中很多时候都需要用到re(正则),因为我也不是开发所以呢只是简单说一下经常需要用到的东西。 在工作中经常用到的主要是三个函数:1、math 2、search 3、sub 4、split 1、re.math(a,b) math和search其实用法差不多,只是找...
分类:编程语言   时间:2014-08-11 20:51:02    阅读次数:240
Linux 常用命令 -- find
Linux 常用命令 -- find根据名字,顾名思义就是查找的意思,可以通过多个维度来查找你想要的文件,比如类型,find - search for files in a directory hierarchy常用用法1. 通过名字查找文件find pathname -name filename2...
分类:系统相关   时间:2014-08-11 20:40:03    阅读次数:488
url字符串和对象之间的转换
这里会涉及两个需求,有时候,我们想将获得的url字符串按键值对的形式保存成一个对象,用location.search获得url参数字符串,这里不考虑location.pathname和location.hash。url字符串对象化 1 var urlToObj = function (){ 2 .....
分类:其他好文   时间:2014-08-10 18:03:40    阅读次数:139
HDU 2222——Keywords Search(AC自动机)
ac自动机...
分类:其他好文   时间:2014-08-10 13:10:00    阅读次数:287
LeetCode总结 -- 一维动态规划篇
这篇文章的主题是动态规划, 主要介绍LeetCode中一维动态规划的题目, 列表如下: Climbing StairsDecode WaysUnique Binary Search TreesMaximum SubarrayBest Time to Buy and Sell Stock在介绍上述具体题目之前, 我们先说说动态规划的通常思路。 动态规划是一种算法思路(注意这里不要和递归混淆, 事实上...
分类:其他好文   时间:2014-08-10 13:03:50    阅读次数:180
UVA - 10304Optimal Binary Search Tree(递推)
题目:UVA - 10304Optimal Binary Search Tree(递推) 题目大意:给出一组数,e1 2 n,现在要求将这些数组成一棵二叉搜索树,并且使得sum (ei * cost(ei))最小。cost(ei)表示ei到到根节点之间有多少条边。 解题思路:首先二叉搜索树要满足左节点小于根节点,右节点大于根节点。因此对于e1 2 n这样一组数,我们只要枚举根节...
分类:其他好文   时间:2014-08-09 23:19:09    阅读次数:266
yii表单
yii 的dropdownlist,用yii的session可以记下选中的状态 $form = $this->beginWidget('CActiveForm',array('action'=>$this->CreateUrl('exchange/search')));...
分类:其他好文   时间:2014-08-09 21:24:09    阅读次数:217
[leetcode]Search in Rotated Sorted Array
Search in Rotated Sorted ArraySuppose a sorted array is rotated at some pivot unknown to you beforehand.(i.e.,0 1 2 4 5 6 7might become4 5 6 7 0 1 2)....
分类:其他好文   时间:2014-08-09 18:27:48    阅读次数:148
[leetcode]Search for a Range
Search for a RangeGiven a sorted array of integers, find the starting and ending position of a given target value.Your algorithm's runtime complexity ...
分类:其他好文   时间:2014-08-09 18:18:28    阅读次数:214
[leetcode]Search Insert Position
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-08-09 18:10:28    阅读次数:178
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!