算法複習(6)鏈表實現的隊列

  使用鏈表實現的隊列,先進先初,壓入彈出判空。html 1 // 基於鏈表的隊列 2 #include <iostream> 3 using namespace std; 4 template <typename T> 5 class Queue 6 { 7 public: 8 //在構造過程當中初始化爲空隊列 9 Queue(void) :
相關文章
相關標籤/搜索