Optum interview question

Array, Strings , Dynamic Programming