Bluevine Interview Question

some sorting array problem - needed to use bucket sort