码迷,mamicode.com
首页 >  
搜索关键字:single    ( 5020个结果
Regular Expression Matching
Implement regular expression matching with support for'.'and'*'.'.' Matches any single character.'*' Matches zero or more of the preceding element.The...
分类:其他好文   时间:2014-09-15 21:14:39    阅读次数:190
Add Two Numbers
You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single ...
分类:其他好文   时间:2014-09-15 12:41:48    阅读次数:133
Debian上安装TightVNC Server
from:www.penlug.org/twiki/bin/view/Main/TightVNCUsing VNCThe toolvncserverallows you to run additional X servers on a single machine. These X servers ...
分类:其他好文   时间:2014-09-15 12:35:18    阅读次数:762
Single Number问题
LeetCode上面有这样两道Single Number 问题: 1、假设一个整型数组中所有的元素都出现了两次,唯独只有一个元素出现了一次,求出这个出现一次的元素。 2、假设一个整型数组中所有的元素都出现了三次,唯独只有一个元素出现了一次,求出这个出现一次的元素。 显然,两个问题唯一的不同就是大部分元素是出现了两次还是三次。 对于问题1:很好解决,通过异或运算,我们可以把所有出现两...
分类:其他好文   时间:2014-09-15 11:20:38    阅读次数:112
LeetCode Regular Expression Matching
class Solution {#define SINGLE 1#define MULTIP 2public: bool isMatch(const char *s, const char *p) { if (s == NULL || p == NULL) return true...
分类:其他好文   时间:2014-09-14 01:20:56    阅读次数:261
Single Number II
Given an array of integers, every element appearsthreetimes except for one. Find that single one.Note:Your algorithm should have a linear runtime comp...
分类:其他好文   时间:2014-09-13 20:06:45    阅读次数:155
Add Two Numbers
You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single ...
分类:其他好文   时间:2014-09-13 20:00:35    阅读次数:207
Single Number
Given an array of integers, every element appearstwiceexcept for one. Find that single one.Note:Your algorithm should have a linear runtime complexity...
分类:其他好文   时间:2014-09-13 20:00:25    阅读次数:195
wordpress教程之函数讲解
wordpress函数收集is_home() : 是否为主页is_single() : 是否为内容页(Post),是否是单篇文章is_page() : 是否为内容页(Page), 是否是页面文章is_category() : 是否为Category/Archive页, 是否是标签页is_tag()....
分类:其他好文   时间:2014-09-12 16:38:13    阅读次数:274
2014牡丹江网络预选赛F题(隐式图BFS暴搜)zoj3814
Sawtooth Puzzle Time Limit: 10 Seconds      Memory Limit: 65536 KB Recently, you found an interesting game called Sawtooth Puzzle. This is a single-player game played on a grid with 3 x 3 cells....
分类:其他好文   时间:2014-09-11 09:42:44    阅读次数:248
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!