Block Interview Question

Go though an array switch the order in pairs