Block interview question

Go though an array switch the order in pairs