Sponsored
Sponsored
Use these hints if you're stuck. Try solving on your own first.
If the array consists of only 0s answer is 0.
In the final split, exactly one separation point exists between two consecutive 1s.
In how many ways can separation points be put?