I am trying to use this logic but this seems to be giving me an empty arraylist everytime . What am I doing wrong?
class Solution { Map