R Systems Interview Question

Hashcode and equals contract