I didn’t understand the question and I couldn’t follow your explanation for this question
Unique Character in String ques
@sravanthikaki
see in the question you are required to return the length of longest string for which all the characters are unique.
Input is a some string which are available to concate to achieve the final string.
for given input:-
3
ab
cd
ab
if you concat all three then it will be like abcdab but in this all the chars are not unique so it is not a possible answer.
Possible final strings can be ab, cd, abcd in which abcd is the largest so answer is 4.
Now if you understood the question then you can rewatch the video, you will easily understand it now.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.