JUSPAY Interview Question

Graph , Tree and string .