Advertisement
akosiraff

Same Hash Code JAVA

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