Pergunta de entrevista da empresa Proofpoint

Whiteboard coding exercise, general data structure & algorithm question.