LINE interview question

Sorting, shuffling, regex, find patterns in Strings.