Q:(B)將資料2、1、4、5、3 依序插入空的二元搜尋數(binary search tree),再以前
序追蹤(
preorder traversal)其結果為?
(A)12345
(B)21435
(C)21453
(D)54321
桃園縣98年國民中學新進教師甄選【專門科目:電腦】試題#2191
求以下程式的時間複雜度:
for(i=1;i<n;i++)
{
for(j=1;j<n;j=j+i)
x=x+i;
}
答案是nΣ1/n=nθ(logn)=Θ(nlogn)
本信件可能包含中華電信股份有限公司機密資訊,非指定之收件者,請勿蒐集、處理或利用本信件內容,並請銷毀此信件.如為指定收件者,應確實保護郵件中本公司之營業機密及個人資料,不得任意傳佈或揭露,並應自行確認本郵件之附檔與超連結之安全性,以共同善盡資訊安全與個資保護責任.
Please be advised that this email message (including any attachments) contains confidential information and may be legally privileged. If you are not the intended recipient, please destroy this message and all attachments from your system and do not further collect, process, or use them. Chunghwa Telecom and all its subsidiaries and associated companies shall not be liable for the improper or incomplete transmission of the information contained in this email nor for any delay in its receipt or damage to your system. If you are the intended recipient, please protect the confidential and/or personal information contained in this email with due care. Any unauthorized use, disclosure or distribution of this message in whole or in part is strictly prohibited. Also, please self-inspect attachments and hyperlinks contained in this email to ensure the information security and to protect personal information.
Subscribe to:
Post Comments (Atom)
熱門必看
-
https://www.2cm.com.tw/2cm/zh-tw/archives/82C9C5DEC69E496AA6718A784772E758
-
包括 計算機概論 資訊概論 資料結構 資料庫 演算法 程式設計 等問題皆可發問
-
https://www.dcard.tw/f/exam/p/240117955 回覆 B3-1 背單字太慢,你只是聽一些雜誌&youtube也沒甚麼卵用,用一兩個月沒有接觸到那領域的題材,大概就忘記87%了,而且覆蓋到的專業字比率太低,CP值不高,還會壓縮到你看其他科目的...
-
中華電信公司 104 年護理人員遴選簡章 中華電信母公司工作機會,基於經濟不景氣,青年謀職不易,故分享該工作機會。 報名期間: 104 年 7 月 2 日(星期四) 中午 12:00止 工作地點:台北市/高雄市 共 8 名 簡章備份:http://cht-exam.b...
-
活動名稱 2019 國立中山大學高屏地區就業博覽會 活動目的 結合高屏地區各大專院校資源,協助各校應屆畢業生與校友以及高雄市民,獲取就業資訊,深入了解未來之工作領域,進而順利就業。並增進企業界與學術界之...
-
中鋼徵博士 材料、冶金、機械、化工、應力、航太、動機、電機、電子、資工、工工、化學。 ◎報名日期:103年12月1日09:00至103年12月14日18:00截止,郵寄者以郵戳為憑(同仁親自持送相關文件者,收件期間同上)。 ◎報名步驟: ①請先至中鋼官網首頁 ht...
-
http://www.hfu.edu.tw/~lib/srvc/exam1/exam1.htm#mis
-
https://ictjournal.itri.org.tw/content/Messagess/contents.aspx?&MmmID=654304432061644411&CatID=654313611231473607&MSID=654526020...
-
中華電信轉投資「宏華國際」對外招募寬頻專線客服人員 (非中華電信正式員工) 因青年謀職不易,基於分享與提供就業機會,分享招募資訊, 希望對有該類需求的板友有幫助。 報名期間:至 103 年 12 月 12 日(星期五) 17:00 截止。 報名方式:採網路報名 基本月薪...
No comments:
Post a Comment