Pergunta de entrevista da empresa UST

Basic Angular questions, logical programming question.