Find the common numbers in two text files.
Anonymous
Liron, HashMap is a bad choice for strings especially when you have large files since you'll have to many collisions. (There's way to many possible strings than the possible int values). I would choose at least a trie for your solution. You can still get along with hashmap in the case of numbers if the numbers don't exceed an int.
Check out your Company Bowl for anonymous work chats.