Pergunta de entrevista da empresa Sisu Tech

How do hash maps work and why the access time is constant?