Zalando interview question

Algorithmic challenges on both Java and Javascript.