結果 : application of stack in recursion