filmov
tv
Shuffle the Array - Leetcode 1470 - Easy

Показать описание
Leetcode Daily Challenge - February 6, 2023
Leetcode 1470. Shuffle the Array
Problem Statement
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].
Timestamps:
01:10 - Using Zip
03:15 - Using Index
Support the channel by subscribing and hitting the like button.
#leetcode #leetcodesolution #leetcodedailychallenge #codingpractice #learnpython #python #googleinterview #amazoninterviewpreparation
Leetcode 1470. Shuffle the Array
Problem Statement
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].
Timestamps:
01:10 - Using Zip
03:15 - Using Index
Support the channel by subscribing and hitting the like button.
#leetcode #leetcodesolution #leetcodedailychallenge #codingpractice #learnpython #python #googleinterview #amazoninterviewpreparation