Pergunta de entrevista da empresa Revolut

What's the average time complexity of getting a value in a HashMap?