結果 : time complexity using recursion tree method