Pergunta de entrevista da empresa Revolut

What can go wrong with equals() and hashcode()?