Questions to ask

Don’t be smart ass. Always ask questions.

Are we only using ASCII code

A lot of time when we are using ASCII code, we can use an array of size 256 to represent attributes of a character. For example, the location or index of the character in a string. It is like a hash table, with key value pair. See question 3. Longest Substring Without Repeating Characters: Sliding window with hash table.