Pergunta de entrevista da empresa IBM

Coding asssessment: one python array question and one sql question