Pregunta de entrevista de IBM

Bubble sorting in python and an array question in c