Meta interview question

String matipulation. Leetcode easy I think.