BlackRock Interview Question

write bubble sort algorithm