結果 : worst case time complexity of brute force algorithm