Pergunta de entrevista da empresa Verizon

Onsite interview with the hiring team. 1- String manipulation 2. Array mathematical problem