Salesforce interview question

Problem use case related to graphs