Revolut interview question

hashCode/equals contract