Is anyone using CHelper with latest version of IntelliJ(say 2022.x). I have noticed that the plugin itself can not be found in Settings->Plugin.
Please help with this problem from October circuit from Hackerearth. In their editorial they just posted solution code. Please provide some idea(I know that Segment tree can be used) but I am not sure how to handle the reverse operation.