結果 : simple algorithm practice problems