Pergunta de entrevista da empresa Whatnot

Standard coding questions, nothing out of the ordinary.