Intuit interview question

Topics covered were like strings graphs trees