Challenge 10: Shuffle Integers

In this lesson, we will solve a challenge on shuffling an array of 2n integers without using extra space.

Shuffle Integers

Suppose you have an array of 2n2^n integers arranged as:

Create a free account to view this lesson.

By signing up, you agree to Educative's Terms of Service and Privacy Policy