Pergunta de entrevista da empresa J.P. Morgan

Given an array of random integers, find the index of first non-repeating integer in the array.

Resposta da entrevista

Sigiloso

1 de mar. de 2021

Since I was asked to find the first NON-REPEATING integer, I had to scan through the entire array. So, I used the brute force approach without thinking much about optimization.

2