Given an array of 0s and 1s, rearrange or print the numbers following a Fibonacci sequence of counts (1 zero, then 1 one, then 2 zeros, then 3 ones, and so on).
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.