AKUNA CAPITAL interview question

Q: integer list mapping and alternations