Moovit interview question

SQl, Python