Tandym Group Interview Question

*find longest substring in a string *reverse string words