JUSPAY interview question

graph based problems and trees.