Challenge: Shuffle Integers
Solve the challenge of shuffling an integer array without using extra space.
Shuffle integers
Suppose you have an array of size (the size of the array is a multiple of 2) arranged as:
Create a free account to view this lesson.
By signing up, you agree to Educative's Terms of Service and Privacy Policy