ishu9bansal / ideone

useful pieces of codes
1 stars 1 forks source link

Implement Fedwick Tree #5

Closed ishu9bansal closed 4 years ago

ishu9bansal commented 4 years ago

Use Case: https://leetcode.com/problems/count-of-smaller-numbers-after-self/

ishu9bansal commented 4 years ago

https://leetcode.com/submissions/detail/350260092/

ishu9bansal commented 4 years ago

https://leetcode.com/submissions/detail/350897497/ Generic implementation