Pregunta de entrevista de The Trade Desk

OOD question and algorithm question