Marks :10
: 0 | : 0
Given two strings $$$A$$$ and $$$B$$$. Removing a character from string $$$B$$$ makes it a permutation of $$$A$$$. Find that character
The first line contains the number of test cases $$$1\le t\le 10^4$$$
Each test contains 3 lines.
The first line of test cases contains no of characters in string $$$A$$$, $$$1\le n\le 1000$$$
The second line contains string $$$A$$$
Third line contains string $$$B$$$ (size of $$$B$$$ is $$$n+1$$$)
The Sum of all n is less than $$$10^6$$$
For each test case, output the character that needs to be removed.
13abcabcd
d
You need to login to view your submissions.
You need to login to view all submissions.
Result : Executed
Feel something is wrong with the test cases?
Result : Accepted
Test Cases :
But to Run or Submit the Problem, you need to Log In.
Continue to Log InYour challenge has been submitted successfully.
You will get a response soon via WhatsApp or Email.
Do let us know your issue.