結果 : recursive function time complexity analysis