Pergunta de entrevista da empresa Oracle

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