Pregunta de entrevista de IBM

Coding asssessment: one python array question and one sql question