HCLTech interview question

something related to bubble sort