Pergunta de entrevista da empresa ThoughtSpot

Another program with 2D arrays but I did not really understand the question