got right answer on test case given in problemā¦but got wrong answer on submittion test casesā¦not able to find whats wrong in this codeā¦
SEGMENT TREE-QUERY BITS
Hey @kumar_sunny
Issues seems to be with use of int in power function
Rest logic seems fine
If the issue still persists please have a look at this code