阿摩線上測驗 登入

最新科目

最新試卷

115年 - 115-2 專技高考_醫事檢驗師:醫學分子檢驗學與臨床鏡檢學(包括寄生蟲學)#142539(80題)

115年 - 115-2專技高考_醫事檢驗師:臨床血液學與血庫學#142538(80題)

115年 - 115-2 專技高考_醫事檢驗師:臨床生理學與病理學#142532(80題)

115年 - 115 中華郵政股份有限公司_職階人員甄試試題_專業職(二)外勤/郵遞業務、運輸業務:英文#142531(25題)

115年 - 115 中華郵政股份有限公司_職階人員甄試試題_專業職(二)外勤/郵遞業務、運輸業務:國文#142530(25題)

115年 - 115 中華郵政股份有限公司_職階人員甄試試題_專業職(二)外勤/郵遞業務、運輸業務:臺灣自然及人文地理#142529(60題)

115年 - 115 中華郵政股份有限公司_職階人員甄試試題_專業職(二)外勤/郵遞業務、運輸業務:郵政法規大意(含郵政法及郵件處理規則)及交通安全常識(含道路交通安全規則第四章、道路交通管理處罰條例及道路交通事故處理辦法)#142528(50題)

115年 - 115 臺北捷運公司新進行車專員(一般及原住民類)、 技術專員(常年大夜班維修類)甄試試題:綜合科目 2(數理邏輯、捷運 法規及常識)B#142527(50題)

115年 - 115-3 保險事業發展中心辦理_永續發展基礎能力測驗試題:永續發展基礎能力測驗#142526(80題)

115年 - 115-2 專技高考_牙醫師(二):牙醫學(五)(包括全口贗復學、局部贗復學、牙冠牙橋學、咬合學等科目及其相關臨床實例與醫學倫理)#142525(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;} elementelement 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 nullnode 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 nullnode new_node = (node ) malloc (sizeof (node));// (A) 實作以下敘述// add new_node to stack by top}int pop (node **top) { // assume top is not nullint value;node deleting_node = top;// (B) 實作以下敘述// remove the deleting node from stack, get the value of deleting nodefree(deleting_node);return value;}

最新課程

最新主題筆記

最新討論