Oracle interview question

problem based on the graph