Zalando Interview Question

Solve a task of easy level from leetcode and then implement some more custom logic