Infosys interview question

linked list bubble sort pointers arrays