結果 : analysis of recursive and non recursive algorithm