Removing multiple items from ArrayList, shifting indexes
<p>I have an ArrayList that I loop and through some logic I would remove an element at a particular index.</p>

<p>However while I am looping the Arraylist and removing on the way, the ArrayList size and index of particular items are changing as well, resulting in unexpected results.</p>

<p>Anyway to circumvent this?</p>
