Zalando interview question

Write a function to bin the input collection's element into buckets

Zalando Interview Question: Write a function to bin the input collection's element into buckets | Glassdoor