Google interview question

String manipulation/array qs; leetcode easy level problems