Given an Array N unique elements ,and some elements may contain values greater than N.
For ex: 1, 8, 2147483647 instead of building huge fenwick array.
We can try for 1,2,3, which has mapping 1 <--> 1, 2 <--> 8, 3 <--> 2147483647
To work on Fenwick Tree, we need to adjust that to a 1 — N range. Is there a way to do this ?