I don’t know where i am doing mistakes please comment that line which is incorrect
Wrong answer please help
while reading the strings you need to start from the next line after reading the t value ,right now your code is reading the first string as empty .
so just move to nextLine and then start reading input string for each t
also it’s Not Duplicates
if this solves your doubt please mark it as resolved and rate as well 
1 Like
Solved mam , Thank you

please mark your doubt as resolved
1 Like
Done mam… 
1 Like