How is this a graph question?
draw it out and see what the question means
for data structure questions, drawing out is very important just thinking is not very helpful