結果 : big o notation greedy algorithm