Why am I getting WA for the problem Let Us Construct a Palindrome?It seems to be running fine on my machine…
Its probably because you are matching your output with the given test cases only.There can be other cases where your logic fails.Find those and reconstruct your code. That’s what i can say right now.Anyways happy coding
1 Like
Yes test your code by taking any other test cases