Is Unique - Strings & Arrays - Data Structures Interview Question - Part 1
Ganesh H
Implement an algorithm to determine if a string has all unique characters. What if you cannot use additional data structures?
00:00 - Problem Introduction 01:10 - Brute Force Solution 07:45 - Optimizations 09:10 - Manual Method 10:32 - Optimal Solution - HashMap Optimization 19:08 - Implementation 22:42 - Testing 25:08 - Part B Optimal Solution - Sorting 31:46 - Part B Implementation 33:16 - Part B Testing 34:20 - Summary
———————————————————————————————————— Written Guides & Tutorials: https://tutorials.gn3.sh
NOTE: I am not a teacher by any means, these videos are just to help me improve my understanding.
Thanks for Watching! ... https://www.youtube.com/watch?v=GxDmv-EeWIg
2022-03-25
0.0 LBC
Copyrighted (contact publisher)
98951011 Bytes