Mark As Completed Discussion
Step Three

We need to do these 3 things:

  1. Separate the 0s and non-0s.
  2. Find out where the non-0s need to be index-wise
  3. Keeping track of the number of 0s
Step Three

We have a potential brute force solution! This could be our pseudocode.

TEXT
OUTPUT
:001 > Cmd/Ctrl-Enter to run, Cmd/Ctrl-/ to comment