Virtusa Interview Question

code to find missing element in an array