Pergunta de entrevista da empresa BMW of North America

Merge two sorted arrays, design array list and string count