Infosys Interview Question

The Hash function in Java