Atlassian interview question

Q on graphs DP etc