Pregunta de entrevista de J.P. Morgan

First repeating element in unsorted array.

Respuestas de entrevistas

Anónimo

18 ene 2021

Use frequency map (dict)

Anónimo

19 jul 2022

Convert the list elements into dictionary, whenever the counter is greater than 1 break the loop and fetch the key Then find the index of the element(key)