代码搜索:queue

找到约 10,000 项符合「queue」的源代码

代码结果 10,000
www.eeworm.com/read/387762/8655401

h lqueue.h

// This is the file to include in your code if you want access to the // complete LQueue template class // Include the link class #include "link.h" // First, get the declaration for the base s
www.eeworm.com/read/387434/8677103

pas listform.pas

unit ListForm; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Contnrs; type TForm1 = class(TForm) ButtonAdd: TButton; Bu
www.eeworm.com/read/431298/8690118

c 30.c

#include "stdio.h" #define STACKSIZE 2 struct Car { char Label; float InTime; }; struct StackCar { struct Car *Top; struct Car *BottomStack; int Size; }; int StackInitial(str
www.eeworm.com/read/431296/8690562

c 6.46.c

6.46③ 编写复制一棵二叉树的非递归算法。 要求实现下列函数: void CopyBiTree(BiTree T, BiTree &TT); /* 基于层次遍历的非递归复制二叉链表 */ 二叉链表类型定义: typedef char TElemType; // 设二叉树的元素为char类型 typedef struct BiTNode { TElemType
www.eeworm.com/read/431296/8690632

c 3.31.c

◆3.31③ 假设称正读和反读都相同的字符序列为 "回文",例如,'abba'和'abcba'是回文,'abcde' 和'ababab'则不是回文。试写一个算法判别读入的 一个以'@'为结束符的字符序列是否是"回文"。 实现下列函数: Status Palindrome(char *word); /* 利用栈和队列判定字符序列word是否是回文 */ 可使用栈Stack和
www.eeworm.com/read/431296/8690649

c 6.49.c

6.49④ 编写算法判别给定二叉树是否为完全二叉树。 要求实现下列函数: Status CompleteBiTree(BiTree bt); /* judge if the binary tree whose root is bt */ /* is a complete tree. */ 二叉链表类型定义: typedef struc
www.eeworm.com/read/431296/8690723

c 7.23.c

7.23③ 同7.22题要求。试基于图的广度优先搜索策略写一算法。 实现下列函数: Status BfsReachable(ALGraph g, int i, int j); /* Determine whether it exists path from vertex i to */ /* vertex j in digraph g with Breadth_First Searc
www.eeworm.com/read/431296/8690762

c 6.47.c

6.47④ 编写按层次顺序(同一层自左至右)遍历二叉树的算法。 要求实现下列函数: void LevelOrder(BiTree bt, char *ss); /* travel BiTree bt by level, Return result by ss. */ 二叉链表类型定义: typedef char TElemType; // 设二叉树的元素为char类型 ty
www.eeworm.com/read/386607/8735583

java logwriter.java

package net.jcip.examples; import java.io.PrintWriter; import java.io.Writer; import java.util.concurrent.*; /** * LogWriter * * Producer-consumer logging service with no shutdown support *
www.eeworm.com/read/386607/8735639

java noncancelabletask.java

package net.jcip.examples; import java.util.concurrent.*; /** * NoncancelableTask * * Noncancelable task that restores interruption before exit * * @author Brian Goetz and Tim Peierls */