Pergunta de entrevista da empresa Capgemini Engineering

In coding they have asked about 1. Inverted pyramid 2 . Looping