Robert Bosch Interview Question

basic array sorting using c