https://hack.codingblocks.com/contests/c/457/204
Please explain this question.I am not getting this one.
If inverse means that inserting index(starting from the right) at the position specified by the value of that element at that index, then given test case must give true.
Arrays-is array mirror inverse
Inverse is found by two rules:
- Index becomes the value.
- value at that index becomes ‘index’ for the value found in step 1
If inverse is equal to no then return true