Pergunta de entrevista da empresa Axon

Straightforward algorithm implementation, will not mention specific details due to NDA.