For some reason, when deleting elements from the array, I leave the keys, such as 0, 2, 3, 4, 6, 9, instead of 0, 1, 2, 3, 4, 5. Therefore, I'm trying to find out why and what I can do to fix this without sorting everything through sort()
, as this will lead to ordering things. I just want to talk again in a conversation.
chris source share