Replies: 1 comment
|
k=1のときから順に答えよとのことなので、まずk=1から考えます。 というわけで文字列sを左から順に見ていけばよいので O(N)です。 |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
問題の感想や気づきを投稿・共有するスペースです
All reactions