No test cases being passed

Even by brute force approach, none of my test cases are being passed! The left and right pointer approach also results in same

Hello @mohammadabdullahjawwad,

There must be some issue in your code.
I would correct it or guide you to correct answer only if you would share your code with me.:wink:

Steps:

  1. Paste your code on Online Coding Blocks IDE.
  2. Save it there.
  3. Share the URL generated.