One test case is not pass?
@arjundkl You are doing a mistake while updating the answer. Have a look at this code for better understanding. https://ide.codingblocks.com/s/197791
@arjundkl You are doing a mistake while updating the answer. Have a look at this code for better understanding. https://ide.codingblocks.com/s/197791