Zalando Interview Question

2 LC easy and 1 difficult question in the coding round.