Recursive + Memo + TopDown

Recursive

  1. 如果能將問題從單一個輸入ex. N,變成範圍 ( 1~N) 那或許是個可能的好方式去處理遞迴問題。

HashMap

  1. You can't use array as a key

Last updated

Was this helpful?