Skip to content
Discussion options

You must be logged in to vote

So I'm not sure if this will work, but try initializing the current_position variable (line 30) to -1 instead of 0.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@zepliu
Comment options

@becky-gilbert
Comment options

@zepliu
Comment options

Answer selected by becky-gilbert
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants