結果 : recurrence method in data structure