Snap interview question

Remove duplicates in an array within k range

Interview Answer

Anonymous

Dec 15, 2017

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