Barclays Interview Question

Variation of Leetcode questions. Primarily arrays and sorting.