https://ide.codingblocks.com/s/208081.tell me where i m wrong
No output for test case 2
@parasjain011999 initialize your bool upsucess ,downsucess,rightsucess,leftsucess all with initial value false.
@parasjain011999 initialize your bool upsucess ,downsucess,rightsucess,leftsucess all with initial value false.