Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Download: http://solutionzip.com/downloads/same-hash-code-java/
- P16.6 Try to find two words with the same hash code in a large file, such as the /usr/share/
- dict/words file on a Linux system. Keep a Map>. When you
- read in a word, compute its hash code h and put the word in the set whose key is h.
- Then iterate through all keys and print the sets whose size is > 1.
- Download: http://solutionzip.com/downloads/same-hash-code-java/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement