FIME interview question

Slicing, Indexing, Sorting, Regex, Problem solving.