private int getNext(int index){
        return index + (index & -index);
    }
To get next
1) 2's complement of get minus of index
2) AND this with index
3) Add it to index
src/com/interview/tree/FenwickTree.java