Given a string find min non reapeating substring of that string.
Test1 : ababababababab Output : ab
Test2: abcd Output : abcd
Pls help how to do it.
2.1m questions
2.1m answers
60 comments
57.0k users