Pergunta de entrevista da empresa Wolverine Trading

For the online assessment, I got a relatively simple graph based question testing familiarity with c++ datastructures.