Domanda di colloquio di J.P. Morgan

First repeating element in unsorted array.

Risposte di colloquio

Anonimo

18 gen 2021

Use frequency map (dict)

Anonimo

19 lug 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)