Pregunta de entrevista de Capital One

object oriented design technical question