1 testcase not working(wrong-answer)

hey, i think you have raised this doubt under the wrong section, or given the wrong code. the code mentioned is of some other problem

  1. if the doubt is in the wrong section, i request you to please close this one and open it in the right section
    OR
  2. give me your code for the section this doubt is, so I can help you better
    https://ide.codingblocks.com/s/221076
    here is the code printing lcs in case


sorry wrong ide sent earlier


here u go, this will work