Pregunta de entrevista de Riot Games

A Python coding question and a SQL query you need to write.