Atlassian Interview Question

Rate limiting code Sorting a file list grouped by collection and then sort by size