Add data_structures

You don't need to mutate the input string in order to solve the problem. In fact, this impacts the O(n) performance of your solution.