Tip 1 : Be confident
Tip 2 : Be honest of what you know
Tip 3 : Be strong with the basics of your stream
Tip 1 : Have a resume with specific details
Tip 2 : Don't make the resume as a big easy keep easy sweet and short.



If there are more than one substring with the shortest length, then find one which appears earlier in the string ‘S’ i.e. substring whose starting index is lowest.
If the given string ‘S’ = "abcba", then the possible substrings having all the characters of ‘S’ at least once and of minimum length are "abc" and "cba".
As "abc" starts with a lower index (i.e. 0, "cba" starts with index 2), we will return the string "abc" as our shortest substring that contains all characters of 'S'.







Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
How do you remove whitespace from the start of a string?