https://hack.codingblocks.com/contests/c/474/205
https://ide.codingblocks.com/#/s/24038
Second Array Mirror Inverse Of First Array?
I think you misunderstood the question. Here we are talking about mathematical inverse of array1.
Hint: Condition for two arrays to inverse: if a[b[i]]=i for all i from 0 to n-1 then, we say that b is inverse of a.
1 Like