Riot Games interview question

Logic questions.