码迷,mamicode.com
首页 >  
搜索关键字:pattern matching    ( 8550个结果
Regular Expression Matching
Implement regular expression matching with support for '.' and '*'.'.' Matches any single character.'*' Matches zero or more of the preceding element....
分类:其他好文   时间:2014-07-12 13:17:10    阅读次数:248
[设计模式] .NET设计模式笔记 - 了解设计模式
今天在TerryLee的cnblog(http://terrylee.cnblogs.com)里看到了与设计模式相关的整套文章,初学设计模式看完每篇文章后做些笔记和摘抄。 ●什么是设计模式,什么是架构? 设计模式(Design pattern)是一套被反复使用、多数人知晓的、经过分类编目的、代码设计...
分类:Web程序   时间:2014-07-10 11:34:47    阅读次数:199
[设计模式] .NET设计模式笔记 - 有多少种设计模式
.NET下的23中设计模式。※创建型模式篇●单件模式(Single Pattern)●抽象工厂模式(Abstract Factory)●建造者模式(Builder Pattern)●工厂方法(Factory Method)●原型模式(Protype Pattern)※结构型模式篇●适配器模式(Ada...
分类:Web程序   时间:2014-07-10 11:11:42    阅读次数:242
JavaScript Patterns 5.5 Sandbox Pattern
This post introduces Sandbox pattern to avoid the namespace drawbacks(1. Reliance on a single global variable to be the application’s global. 2. Long,...
分类:数据库   时间:2014-07-07 20:15:42    阅读次数:262
POJ #1080 - Human Gene Functions
A classic 2D DP problem. A disguise of LCS - actually not very hard to decode: it is about 2 sequences' matching, though with a weight value of each m...
分类:其他好文   时间:2014-07-07 19:49:34    阅读次数:217
java设计模式
设计模式(Design Patterns) ——可复用面向对象软件的基础设计模式(Design pattern)是一套被反复使用、多数人知晓的、经过分类编目的、代码设计经验的总结。使用设计模式是为了可重用代码、让代码更容易被他人理解、保证代码可靠性。 毫无疑问,设计模式于己于他人于系统都是多赢的,设...
分类:编程语言   时间:2014-07-07 19:32:40    阅读次数:486
POJ #1260 - Pearls
DP is, enumeration + pruning. If you can think of enumeration pattern of a problem, plus a recurrence relation later, you are there.Main ref:http://bl...
分类:其他好文   时间:2014-07-03 09:32:27    阅读次数:213
web.xml配置整理
虽然是做web开发,但是web中的很多配置有的时候却不是很清楚,只是知道怎么配置,于是就把在网上看到各种关于web.xml的东西整理一下:web.xml中url-pattern的3种写法1完全匹配/test/list.do2 路径匹配/* 3扩展名匹配 *.do *.html * Filte...
分类:Web程序   时间:2014-07-01 17:42:39    阅读次数:222
【LeetCode】ZigZag Conversion
题目 The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font for better legibility) P A H N A...
分类:其他好文   时间:2014-06-30 00:07:36    阅读次数:268
php 字符串分割函数split
说明 arraysplit (string$pattern ,string$string [,int$limit ]) 本函数返回一个字符串数组,每个单元为string经区分大小写的正则表达式pattern作为边界分割出的子串。如果设定了limit,则返回的数组最多包含limit个单元,而其中最后一个单元包含了string中剩余的所有部分。如..
分类:Web程序   时间:2014-06-28 06:42:42    阅读次数:230
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!