搜索资源列表
zhsy
- //定义栈的存储结构 typedef struct StackNode { ElemType data //存放数据 struct StackNode * next //指向下一个结点 }StackNode typedef struct { StackNode * top // 栈顶指针 }LinkStack 实现下列操作: void InitStack(L
c++_linkedlist
- c++链表,里面包含多个函数。例如,insert(),next(), makeempty(), gofirst(),getsize()等。-c list, which contains more than one function. For example, insert (), next (), makeempty (), gofirst (), getsize () and so on.
lab5-heappath
- // BinaryHeap class // CONSTRUCTION: with an optional capacity (that defaults to 100) // // ******************PUBLIC OPERATIONS********************* // void insert( x ) --> Insert x // deleteMin( minItem ) -
AVL_tree
- 实现AVL树的基本操作。定义了AVL树、结点元素。程序开始时,调用MakeEmpty()函数 将AVL树初始化,然后调用MainMenue()函数进入菜单选择项,根据输入的选择 项判断调用相应的程序,实现相应的逻辑功能。-Implement the basic operation of AVL tree. AVL tree is defined, node elements. Beginning of the program, call
3-28
- 建立一个继承结构,以栈、队列、优先级队列作为派生类,建立它们的抽象基类Bag。统一命名派生类的插入操作Add,删除操作Remove,存取操作Get和Put,初始化操作MakeEmpty,判空操作isEmpty,判满操作isFull,计数操作Length。-Establish an inheritance structure to stacks, queues, priority queues as a derived class, to