Pregunta de entrevista de Coinbase

Class design question, Not as much leetcode/dsa.