Pergunta de entrevista da empresa Capgemini

arr = [1,1, 2,3,3,4,4, ] find unique element

Resposta da entrevista

Sigiloso

4 de jun. de 2025

approaches 1) set(arr) -> followup without set 2) frequency counting 3) bit manupulation ( XORing elements)