Neetcode 150 problems to learn algorithms with python.
49:
- Create a list counter assuming only 26 letters
ordfunction to get unicode numbers. Letters are together, soord(character) - ord('a')is useful.- Dictionary needs hashable elements, so turn list into tuple.