Velikost videa: 1280 X 720853 X 480640 X 360
Zobrazit ovladače přehrávání
Automatické přehrávání
Přehrát
Thank you for the clear explanation! It was very easy to understand the way you explained it.
great video! the space complexity is O(n) though, because its bounded by the string builder array which will have n elements in it.
The seen set will ensure that no duplicate elements are added to the string builder array. And there are only 26 possible elements as the input string consists of only lowercase English letters. So the space complexity is O(26)=O(1)
Hi legend, happy New Year! :)
С Новым Годом :)
@@crackfaang с новым годом my man! ;)
Thank you for the clear explanation! It was very easy to understand the way you explained it.
great video! the space complexity is O(n) though, because its bounded by the string builder array which will have n elements in it.
The seen set will ensure that no duplicate elements are added to the string builder array. And there are only 26 possible elements as the input string consists of only lowercase English letters. So the space complexity is O(26)=O(1)
Hi legend, happy New Year! :)
С Новым Годом :)
@@crackfaang с новым годом my man! ;)