My 3rd Codegolf Challenge Task: Given a list of numbers, reorder it in wave-like form such that list[1] ≤ list[2] ≥ list[3] ≤ list[4] ≥ list[5] ... Example: [2, 1, 3, 6, 4, 5, 7, 10, 9 8] Solutions: [1, 3, 2, 6, 4, 7, 5, 10, 8, 9] The goal is to use the least number of blocks possible to achieve the task Remix this project with your solution
Entries: None