Design in-memory payment and friendship system | Robinhood Interview Question