高普考題庫
102 年 102年公務人員高等考試三級考試暨普通考試・資料結構
申論 2請寫出執行下列程式碼的時間複雜度,並敘明理由。(10 分)for (i = 1; i < n; i++){a = 1;b = n;while( a < b ){a = 3 * a;b = b / 3;}}