IBM interview question

Bubble sorting in python and an array question in c