Pergunta de entrevista da empresa Informatica

take elements from an array so that the ith retreival != a[i], but some random element