The original title of this video was "remove duplicate values in array". Luckily someone pointed out to me that I was only printing the non duplicate values. That has worked for most things I needed it to so for some reason it didn't hit me that these were different things. Elements can't actually be removed from an array. I give an explanation of how to get around that in the link below.
The new video is here • Java Remove Duplicate Values in Array