We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
每一步都有两种走法:一步或者两步,把这两种情况的数量加起来即可。
O(N)
O(1)