Pregunta de entrevista de CARMA Corp.

2 Coding questions on simple iterations and 2 database query questions