結果 : time complexity of brute force algorithm