Pergunta de entrevista da empresa eBay

Sum problem, matrix problems and graph problems