could you please check my code and tell me some test cases in which my code is lacking because of which I am not able to get the answer. The link for the code is given: https://ide.codingblocks.com/s/429745
Check the code for error
take into consideration the long constraints which are failing your code
refer to this here
plzz tell me about my previous query
Even your code is giving wrong output for the test cases, could u please elaborate this