結果 : how to determine algorithm complexity