結果 : explain efficiency of an algorithm with example