Weak Test Case (Should give wrong but accepted?)


#1

My code is giving wrong answers for the test case:
“2 abcd abed”
answer should be “ab”
my code gives “abcd”
But it got accepted here!!!