LTM Limited Interview Question

Bubble sort logic, OOPs concepts