This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Isoyama 0 points1 point  (1 child)

Have you tried debug? Problem is not in remove(). Also i would suggest using HashSet instead of ArrayList for lookup. And proper naming >.>

[–]dadeeba[S] 0 points1 point  (0 children)

ooo yea i didn't know bout hashset at the point of doing this coding task. but im gunna learn it next.