Atlassian interview question

Graph theory questions