Analytic Partners interview question

Leetcode String / Array manipulation