https://ide.codingblocks.com/#/s/14728
https://hack.codingblocks.com/contests/c/474/205
Test case number 3 failed. I guess I am reversing the array instead of inverting it. Can you help
https://ide.codingblocks.com/#/s/14728
https://hack.codingblocks.com/contests/c/474/205
Test case number 3 failed. I guess I am reversing the array instead of inverting it. Can you help
Hint: what inverse here means is arr[arr[i]] = i
Hope it helped
you mean a1[a1[i]] = i