JUSPAY interview question

Graph , Tree and string .