Question d’entretien chez Infosys

Explain map. Java equality contract. Algorithms question.