Not a tough questions, but an Object with key, value pair with topics and its contents. There was another String (A) given in the question. and I had to match the contents of the first object with any entries from A and print output in form of occurrence of the items in HashMap<String, Integer>