Given two files that has list of words (one per line), write a program to show the intersection.
Sigiloso
Hashmap is good. How about a hashset? the checking of duplicate elements in the same file is taken care automatically; also while creating the intersection list, "contains" is taken care automatically; also same efficiency as a hashmap !!