【题目】
Given a 2D board and a word, find if the word exists in the grid.
The word can be constructed from letters of sequentially adjacent cell, where "adjacent" cells are those horizontally or vertically neighboring. The same letter cell may not be use...
分类:
其他好文 时间:
2014-06-03 01:07:58
阅读次数:
329
字典树的删除操作:
1 没找到直接返回
2 找到叶子节点的时候,叶子节点的count标志清零,代表不是叶子节点了
3 如果当前节点没有其他孩子节点的时候,可以删除这个节点
判断是否需是叶子节点,就检查叶子节点的count标志就可以了。
判断是否有其他孩子节点就需要循环26个节点了,如果都为空,那么就没有其他孩子节点了。
#include
#include
#include ...
分类:
其他好文 时间:
2014-06-03 00:49:49
阅读次数:
279
全选所有文字Ctrl + ACtrl + shift + F9按F5刷新
分类:
其他好文 时间:
2014-06-02 21:03:23
阅读次数:
210
DataMatrixFontandEncoder条形码控件使您能够以字体的形式来打印DataMatrix条形码。本产品可以在任何支持Java类库、.NET动态链接库或WindowsCOM动态链接库的操作系统上使用,并可以使用TrueType、BDF、FON、PCLLaserJetsoftfonts、PostScript(type1)Binary或者PostScriptASCII..
分类:
其他好文 时间:
2014-06-02 14:24:25
阅读次数:
208
温馨提示:,如果您使用移动终端阅读本篇文章,请连接wifi的情况下阅读,里面有大量图片,以免造成您不必要的损失。潜水博客园很多年,闲来无事,聊一下自己的经历,语文不好(如有什么错别字,请您在下评论)望您谅解,没有上过什么学的。博主介绍
2010 入园博客园学习.net,只是为后面做.net开发做铺垫...
分类:
移动开发 时间:
2014-06-02 08:36:09
阅读次数:
316
memcpystack proc dest,src,cnt ;cnt is a count of
dwords ;this function has a granularity of dwords mov edx,src mov eax,dest sub
eax...
分类:
其他好文 时间:
2014-06-02 08:31:34
阅读次数:
432
今天完成了三道题目,总结一下:1: Length of last
word(细节实现题)此题有一些细节需要注意(比如 “a_ _” 最后一个单词是a, 而不是遇到空格就直接算成没有),别的基本就是模拟了。 1 class
Solution { 2 public: 3 int lengthOf...
分类:
其他好文 时间:
2014-06-02 00:28:43
阅读次数:
326
dd命令简单使用举例
bs为单位,count为写入的范围区间,如下举例:
例:使用dd清除vote disk和ocr(裸设备)
$dd if=/dev/zero of=/dev/rrac_ocr1 bs=8192 count=17000
$dd if=/dev/zero of=/dev/rrac_vote1 bs=8192 count=17000
例:使用dd...
分类:
其他好文 时间:
2014-06-01 14:01:09
阅读次数:
231
//打开织梦系统文件 /include/arc.archives.class.php 找到GetPreNext函数 function GetPreNext($gtype='')
{
$rs = '';
if(count($this->PreNext)ArcID;
...
分类:
其他好文 时间:
2014-06-01 08:49:14
阅读次数:
241
每年
select to_char(createtime, 'YYYY') 年, count(*) from table group by to_char(createtime, 'YYYY');
每季度
select to_char(createtime, 'q') 年, count(*) from table group by to_char(createtime, 'q');
...
分类:
数据库 时间:
2014-06-01 08:48:29
阅读次数:
368