Larsen & Toubro interview question

Explain about bubble sort and it's working?