I am tryingto solve the Josephus problem with an array list. I noticed that even though I remove and index after it is killed it still shows up in my output.
Why does 2 a