Pregunta de entrevista de Revolut

hashCode() and equal() contract and modify code class to make possible the assertion