BNP Paribas interview question

Write a program on bucket sort