Nagarro interview question

Substring having unique characters.