Painter problem! binary search

error in testcase 3 and 4

https://ide.codingblocks.com/s/59440

Hi Atmanand, just change the size of array in line number 43 from 10000 to 100000 because of the given constraints of the problem.

You can refer to corrected code here: https://ide.codingblocks.com/s/59864

1 Like

thanx mam for the guidence
i was unable to understand the grand temple problem

i am getting problem to count the no of subsequence of the string using recursion pls help me out