Determine if a string has all unique characters [Cracking the Coding Interview] [BitVector] | Part-3

preview_player
Показать описание
Does the String has all Unique Characters is the first question in "Cracking the Coding Interview" by Gayle Laakmann Mcdowell. Solved using BitVector.

Check out our other popular playlists:

Cracking the Coding Interview has become the defacto Bible for preparing for your coding interviews. I think this is for good reason; it's an awesome book with a ton of good practice coding interview problems.

If you find any difficulty or have any query then do COMMENT below. PLEASE help our channel by SUBSCRIBING and LIKE our video if you found it helpful.

To support us you can donate
Рекомендации по теме
Комментарии
Автор

Finally a good video showing bit manipulation algos step by step. I couldn't wrap my head around this example until I saw this. Thank you!

jamesc
Автор

Such a good explanation. People learn better when we are taught using diagrams or animations showing what's actually happening. Thanks a lot.

codestorywithMIK
Автор

Thank you very much for this explanation! So far the only youtube video that explained this solution very well detailed step by step! Every other video on Youtube use additional space

irynasherepot
Автор

Thanks for teaching another bit manipulation solution.

norielgalang
Автор

Thanks this helps a lot! So nicely explained

anjonroy
Автор

Explanations are amazing.Please do videos on all the questions from CTCI Book.

codebuzz
Автор

Could you please explain how the time complexity became o(1) when we are iterating over all the n characters of a string? Explanation is really good

srivalli
Автор

While explaining you have shown checker as array but in code its constant. Can you please tell if its array or a constant

meghanareddy
Автор

Time complexity is still O(n), but space is now O(1).

adventurer