Zensar Technologies Interview Question

Bubble sorting and print a pattern