Wiggle Sort

Wiggle Sort!? All my readers must’ve found the name of today’s problem very funny. However, it is a very smart problem that tests our understanding of a varied range of concepts. Let us jump straight to the problem without any further confusion. Example You have an array Input: [1,5,1,6,4] Expected …

Read more

Translate »