Question of hacker blocks

question- https://hack.codingblocks.com/app/contests/1289/340/problem
code- https://ide.codingblocks.com/s/252990

please check out this code


only one test case passing

yrr gfg ka code to samajh aa gaya but jese mai kr rha hu usme kya problem hai?
globally count update ho rha hai
and baaki check recurssion kr he rha hai
or sample case pr bhi chl rha hai

low and high update nhi kar rahe aap