HCLTech interview question

write a code to explaining bubble sort algorithm (technical interview)