ClearScore interview question

Is there a contract between equals and hashcode?