Skip to content

Conversation

@SpanglishBurger
Copy link

@SpanglishBurger SpanglishBurger commented Oct 9, 2024

Fixes the result array by saving the Zombie ID rather than the iterator number

Fixes the result array by saving the Zombie ID rather than the iterator number
@SpanglishBurger
Copy link
Author

It would need to be changed both in code and explanations for that chapter.

@SpanglishBurger SpanglishBurger marked this pull request as ready for review October 9, 2024 18:31
@acharyayush
Copy link

The iterator number itself is the ID. Why are you trying to save dna of zombie as the ID? When we are saying ID for the zombie is 3, we will find the zombie by searching in the third index of zombies array like zombies[3]. So it doesn't make sense by saving dna as the ID.

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