Frage im Vorstellungsgespräch bei ax (Japan)

Coding exercise and open question for algorithm development