Ocrolus Interview Question

Basic string array algorithm questions.