常见的编码方式有以下几种, 1、NRZ(Not Return to Zero)不归零编码, 这是一种比较简单的编码方式,二进制数据“0”和“1”分别用高电平和低电平来表示,当1位数据传输完以后,信号电平 不返回零所以称为不归零编码。 2、BiPhase编码, 相比NRZ编码方式,这种编...
分类:
其他好文 时间:
2015-01-30 17:33:10
阅读次数:
203
题目链接:3Sum
Given an array S of n integers, are there elements a, b, c in S such that a + b + c = 0? Find all unique triplets in the array which gives the sum of zero.
Note:
*Elements in a triplet (a...
分类:
其他好文 时间:
2015-01-29 21:11:51
阅读次数:
180
http://www.360doc.com/content/11/0118/20/991597_87447868.shtmlhttp://tec.liugens.com/html/sql/20071227/38157.htmlhttp://www.experts-exchange.com/Progr...
分类:
数据库 时间:
2015-01-29 19:27:13
阅读次数:
194
1:创建两个tableView
@property
UITableView *tableViewA;
@property
UITableView *tableViewB;
self.tableViewA=[[UITableView
alloc]initWithFrame:CGRectMake(SECTION_INDEX_ZERO,self.segmentView.frame....
分类:
移动开发 时间:
2015-01-29 15:56:42
阅读次数:
237
Implement regular expression matching with support for '.' and '*'.
'.' Matches any single character.
'*' Matches zero or more of the preceding element.
The matching should cover the entire input st...
分类:
其他好文 时间:
2015-01-29 14:39:45
阅读次数:
107
Implement regular expression matching with support for ‘.’ and ‘*’.
‘.’ Matches any single character.
‘*’ Matches zero or more of the preceding element.
The matching should cover the...
分类:
其他好文 时间:
2015-01-29 12:43:39
阅读次数:
167
#include#include#include "fstream"using namespace std;ifstream fin("read.txt");ofstream fout("result1.txt"); void zero(char *ch, int len) { int i; for...
分类:
编程语言 时间:
2015-01-29 12:13:08
阅读次数:
228
题目链接:Regular Expression Matching
Implement regular expression matching with support for '.' and '*'.
'.' Matches any single character.
'*' Matches zero or more of the preceding element.
The match...
分类:
其他好文 时间:
2015-01-28 21:29:00
阅读次数:
318
uva 11464 Even Parity
We have a grid of size N x N. Each cell of the grid initially contains a zero(0) or a one(1).
The parity of a cell is the number of 1s surrounding that cell. A cell is su...
分类:
其他好文 时间:
2015-01-26 15:16:03
阅读次数:
125
Given an array S of n integers, are there elements a, b, c in S such that a + b + c =
0? Find all unique triplets in the array which gives the sum of zero.
Note:
Elements in a triplet (a,b,c...
分类:
其他好文 时间:
2015-01-26 13:41:30
阅读次数:
95