So I have 4 list, I want to find out which list.size(); is the lowest. I can find the lowest but some turn out to be the same, this is what I have.
First time you need to determine the list sizes and put them in the map. After that you can group the map by the value and set results to another map. For this map you can use a count. Now, this number you should use as a parameter to random.