SLB interview question

graphs, and basic time and space complexity questions