Google Interview Question

Phone screen was a tops sort graph problem and then an array question.