Meta interview question

Mainly string manipulation questions