JUSPAY interview question

To solve a graph problem.