Oracle interview question

It was a basic coding question on bitonic array and on on zigzag array.