Skip to content

70. Climbing Stairs#16

Open
ryosuketc wants to merge 1 commit intomainfrom
70_climbing_stairs
Open

70. Climbing Stairs#16
ryosuketc wants to merge 1 commit intomainfrom
70_climbing_stairs

Conversation

@ryosuketc
Copy link
Owner


### step3

* 簡単な問題なので省略。ただし LeetCode に色々別解はある。
Copy link

@nodchip nodchip Oct 19, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ぱっと思いつくのは、

  • 深さ優先探索
  • キャッシュ付き深さ優先探索
  • 動的計画法
  • 行列の n 乗
  • フィボナッチ数列の一般項

あたりでした。自分が面接官なら、動的計画法までを期待値とすると思います。すらすら解けたら、行列の n 乗の方法を説明したうえで、 m * m 正方行列の乗算のコードを書けるかどうか試すと思います。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants