Meta interview question

2 questions about graph, not difficult