Given an array of integers `nums`, rearrange the array in-place so that all odd numbers appear before all even numbers. The relative order among odd or even elements does not need to be preserved.
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.