二、栈与队列 1、栈的定义 栈(Stack)是限制仅在表的一端进行插入和删除运算的线性表。
(1)通常称插入、删除的这一端为栈顶(Top),另一端称为栈底(Bottom)。 (2)当表中没有元素时称为空栈。 (3)栈为后进先出(Last In
First Out)的线性表,简称为LI...
分类:
编程语言 时间:
2014-05-06 09:00:26
阅读次数:
414
www.abc.com/tag-xxx.html增加伪静态规则RewriteCond
%{QUERY_STRING} ^(.*)$ RewriteRule ^tag-(.+)\.html$
/home/index/tag/?&tag=$1&%1
分类:
Web程序 时间:
2014-05-06 08:47:50
阅读次数:
279
Problem DescriptionGiven n integers.You have two
operations:U A B: replace the Ath number by B. (index counting from 0)Q A B:
output the length of the...
分类:
其他好文 时间:
2014-05-06 01:20:33
阅读次数:
332
技术要点一个存储过程包括名字、参数列表,以及可以包括很多SQL语句的SQL语句集。下面为一个存储过程的定义过程:create procedure
proc_name (in parameter integer)begindeclare variable varchar(20);if paramete...
分类:
数据库 时间:
2014-05-06 00:04:50
阅读次数:
433
这3个系列的书我买了不少本,虽然没有都读完,但是还是要做个阶段性的评价for
dummies:即阿呆系列,外教老师Chris说那是入门的书,知识量少,我觉得自己开辟一个新的学习计划时,这个系列的书是很有帮助的,细分两个子系列all-in-one
for dummies:这个系列的书厚些,通常是几本书...
分类:
其他好文 时间:
2014-05-05 23:16:11
阅读次数:
272
首先把工具都下载好:1. Qt for
Android:http://qt-project.org/downloads2. Android
NDKhttp://developer.android.com/tools/sdk/ndk/index.html64位可以下载第二个3.Apache Ant
1...
分类:
移动开发 时间:
2014-05-02 16:45:43
阅读次数:
573
public class cal{public static void main(String[]
args){calculator ca=new calculator();byte[] first=new byte[4];byte[] second=new
byte[4];System.out.p...
分类:
其他好文 时间:
2014-05-02 15:23:23
阅读次数:
395
在Desktop.js中扩展一个函数initShortCut : function() {
var btnHeight = 64; var btnWidth = 64; var btnPadding = 30; var col = { index
...
分类:
Web程序 时间:
2014-05-02 13:28:43
阅读次数:
490
I am out of the office until 0X/0X/201X.I will be
checking my email regularly. Please leave a complete message for me and I will
respond immediately w...
分类:
其他好文 时间:
2014-05-02 11:14:21
阅读次数:
2686
Given 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
it were inserted in or...
分类:
其他好文 时间:
2014-05-02 09:54:11
阅读次数:
269