Indus Valley Partners interview question

Program to remove duplicate from an u sorted array?