Connected Interview Question

Graph Question