momox Interview Question

Codality challange: 2 data structure problems and 1 Django problem