I am trying to solve a programming problem where i am inputting a series of strings
and i want to only return strings that cannot be made into any other
word in the strings list.
So i have came up with a solution in Cloujure but it cant seem to get the correct output. My function changes all strings to lowercase, then orders the words, then i make a map of all the words in the list so it will look like this in map1
Then i want to only extract the entry {"enp" "pen"} as that is the only entry in the map thats key doesnt match any other key in the map
This solution just gives me this output
([{}] [{}] [{}] [{}] [{}] [{}] [{}])
How will i get the output to only give me {"pen" "pen"} Or is this solution impossible to achieve what i want??