Only first testcase is running

@Piyush-Pandey-2580479718941914
your base case condition of aggr() function is wrong. It should be if(s>e){ return 0; }