Pergunta de entrevista da empresa Thriver

A few graph and set/array algorithm questions