https://ide.codingblocks.com/s/52130
sir, my code is only passing one test case. wht is the error ?
also when i printed leftmost array, it showed correct output, but for rightmost array, first element is not showing correct value whereas rest array is showing correct value. how to solve this issue ?