阿摩線上測驗 登入

最新科目

最新試卷

115年 - 115 灌溉管理組織新進農田水利事業人員甄試試題:法學緒論#144181(35題)

115年 - 115 灌溉管理組織新進農田水利事業人員甄試試題:公文#144180(1題)

115年 - 114 中華民國家庭牙醫學會_家庭牙醫學科專科醫師試題#144159(100題)

115年 - 115 臺灣土地銀行_新進人員甄試試題:邏輯推理#144158(15題)

115年 - 115 臺灣土地銀行_新進人員甄試試題:英文#144157(20題)

115年 - 115 臺灣土地銀行年新進人員甄試試題_五職等/證券業務人員、五職等/客服專業人員、七職等/電子金融-數據分析人員、七職等/高資產財管業務企劃人員、七職等/財務金融人員、七職等/建築工程人員、七職等/機電工程人員、七職等/環境管理人員、一般金融人員:國文#144156(2題)

115年 - 115 臺灣土地銀行_職等/甄試類組:五職等/證券業務人員、 五職等/客服專業人員、 五職等/一般金融人員 :綜合科目【含會計學概要、貨幣銀行學概要、票據法概要】#144010(70題)

115年 - 115 勞動部勞動力發展署桃竹苗分署_自辦在職進修訓練甄試參考試題#144003(10題)

115年 - 115 導遊人員及領隊人員評量測驗試題_通用制外語導遊人員(韓語)、專用制外語導遊人員(韓語):外國語(韓語)#143973(80題)

115年 - 115 導遊人員及領隊人員評量測驗試題_通用制外語導遊人員(越南語)、專用制外語導遊人員(越南語):外國語(越南語)#143971(80題)

最新試題

最新申論題

5. (16%) 使用 stack 實作 老鼠走過言問題 (Maze path search),運用 C 語言程式: void path() { // assume int maze30 and offsets move[8] has been set in main function // typedef struct {int v; int h;} offsets; int i, row, col, nextrow, nextcol, dir, found = 0, top =0, mark30; typedef struct { int row; int col; int dir;} element element position, stack[100]; mark1 = 1; stack[0].row = 1; stack[0].col = 1; stack[0].dir = 0; //實作以下敘述 // Use stack to get current row, col, dir // Use dir to calculate nextrow, nextcol // Use nextrow, nextcol to check this move (1) arrive exit, or // (2) become a legal move; add this move into the stack, or // (3) check other dir }

4. (10%) 使用 queue 實作 level order traversal 轉換,運用以下 C 語言程式: void level_order (tree *root) { //assume root is not null node front, rear; //實作以下敘述 // visit tree nodes based on level order by using queue // use queue by front, rear, enqueue(&rear, root), root =dequeue(&front) // print the values of tree nodes // describe the ending condition }

3. (8%)使用 linked list 實作 stack,運用以下 C 語言程式: typedef struct node { int value; node *next;} void push (node **top, int new_value) { // assume top is not null node new_node = (node ) malloc (sizeof (node)); // (A) 實作以下敘述 // add new_node to stack by top } int pop (node **top) { // assume top is not null int value; node deleting_node = top; // (B) 實作以下敘述 // remove the deleting node from stack, get the value of deleting node free(deleting_node); return value; }

最新課程

最新主題筆記

最新討論