Skip to content

Conversation

@mattthechef
Copy link

Fixed so that s1[k +1] evaluates to the next char in array s1 then increment k in the while loop. Previous implementation would evaluate s1[] then increment k. Important to note that s1[++k] will evaluate as s1[k] then increment k, this is not the desired intent.

Fixed so that s1[k  +1] evaluates to the next char in array s1 then increment k in the while loop. Previous implementation would evaluate s1[] then increment k. Important to note that s1[++k] will evaluate as s1[k] then increment k, this is not the desired intent.
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.

1 participant