Skip to content

Conversation

@AnthonyHu05
Copy link

The previous loop used range(length + 1), which caused the loop to run one extra time and triggered an "Index Out of Bounds" error. I changed it to range(length) to fix this issue.

@AnthonyHu05 AnthonyHu05 changed the base branch from pull_request to master December 14, 2025 13:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants