1.1 - Is Unique
Implement an algorithm to determine if a string has all unique characters. What if you cannot use additional data structures
Idea:
Use bit mask to record characters.
Algorithm:
Test:
Last updated
Implement an algorithm to determine if a string has all unique characters. What if you cannot use additional data structures
Use bit mask to record characters.
Last updated