結果 : find the time complexity of the algorithm using step count method