the tags are very dis-heartning easy ,easy simple , basic maths . Bit masking to likh do bhai
You can do the prob without using bit masking. I guess that’s why they tagged it as easy and simple.
similar to find missing number in a sequence of consecutive numbers.