//* Copyright(C) 2011
//*
//* FUNCTION : TreeToLink
//* DESCRIPTION : Tree to link
//* PARAMETERS : Type Name Description
//* RETURN : Type Values Description
//* CREATED DATE/BY : 2011/12/04 perfect2011
//*
//* REVISION HISTORY:V1.0
//定义栈的数据结构,要求添加一个min函数,能够得到栈的最小元素。
//要求函数min、push以及pop的时间复杂度都是O(1)。
/*
Name: MinOfStack
Copyright: 2011
Author: Chongxin
Date: 04-12-11 20:04
Description: 定义栈的数据结构,要求添加一个min函数,能够得到栈的最小元素。
要求函数min、push以及pop的时间复杂度都是O(1)。
*/
#include "stdafx.h"
#include <cstdlib>
#include <iostream>
using namespace std;
int main(int argc, char *argv[])
{
system("PAUSE");
return EXIT_SUCCESS;
}
最后
以上就是愉快野狼最近收集整理的关于算法大纲的全部内容,更多相关算法大纲内容请搜索靠谱客的其他文章。
发表评论 取消回复