We know that integers are between 0 to n.
Create an auxilary array B of size (n+1) with index 0 to n
Now, go on scanning the integers one by one and then place the integer into its original place in array B. If the number doesnt map to any place, you got the unknown integer.
So, O(n)