Paycom interview question

leetcode easy mainly just string manipulation