Pathetic Expalantion

We just have to place the non-repeating elements at beginning and don’t need to care about rest elements in the given array which might lie at the last(the extra elements)

Click here to start solving coding interview questions