You are viewing a single comment's thread. Return to all comments →
I'm a bit confused over your explanation of the killer array. With pesticide values of [1, 4, 7, 6, 2] you get:
after day 1:
[1, 6, 2] -> 4 was killed by 1 and 7 was killed by 4. (mentioning values not indexes)
after day 2:
[1, 2] -> 6 was killed by 1.
after day 3:
[1] -> 2 was killed by 1.
Yet you say 6 was killed by 4 (the second element)
Seems like cookies are disabled on this browser, please enable them to open this website
Poisonous Plants
You are viewing a single comment's thread. Return to all comments →
I'm a bit confused over your explanation of the killer array. With pesticide values of [1, 4, 7, 6, 2] you get:
after day 1:
[1, 6, 2] -> 4 was killed by 1 and 7 was killed by 4. (mentioning values not indexes)
after day 2:
[1, 2] -> 6 was killed by 1.
after day 3:
[1] -> 2 was killed by 1.
Yet you say 6 was killed by 4 (the second element)