SYMB Technologies interview question

1 - create a array 2 - reverse the array 3 - apply bubble sort