Sollicitatievraag bij Snap

Remove duplicates in an array within k range

Antwoord op sollicitatievraag

Anoniem

15 dec 2017

Easy peesy, maintain a window and move it through the list and search for duplicates.