Skip to content

Latest commit

 

History

History

1470. Shuffle the Array

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Problem #1470 (Shuffle the Array)

Given the array nums consisting of 2n elements in the form [x1,x2,...,xn,y1,y2,...,yn].

Return the array in the form [x1,y1,x2,y2,...,xn,yn].