Robinhood Interview Question

First question was some basic string manipulation. Don't remember the 2nd question. 3rd was some implementation stuff. 4th is algorithmic.