Pergunta de entrevista da empresa Stetig Consulting

DSA and basic question on array and string.