結果 : simple recursive algorithms