Kiwi.com interview question

Write python script that solves a graph problem (input file had > 1 million entries)