Latter & Blum interview question

Very easy overall. Basic DSA questions on string and array. Some Oops concept