Visa Inc. interview question

C program on arrays , sorting