You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Given an array of size N, we need to append the values from 1 to N in the array such that the odd values gets filled from starting and even values thereafter
// Ex: the numbers from 1 to 6 will get stored in the array in this fashion - 1,3,5,6,4,2