Axiom Zen interview question

Coding assignment for an API service.