I have array of countries. I want to pick 5 random countries from my array list, but I want them to be unique. This is what I have so far:
String allCountrie
Shuffle the array and then slice the first 5 elements.
This will guarantee 5 unique random elements.