Meta interview question

string, manipulation, arrays, sorting problems