Pergunta de entrevista da empresa Walmart Global Tech

It was based on sub array and operators