I know this might be a bit of an easy solution but i can't figure it out myself.
I've been trying to edit the Hashmap code so that i can count specific words and put them and then see which string has the most amount of words in it.
Does anyone have any idea on how to do this? I've been trying all day and can't seem to get anywhere with it.