Divum Interview Question

Remove duplicate without using builtin function