Max Score After Split

Split string to maximize left zeros and right ones using prefix counting.

Examples
Input: [1,2,3]
Output: 0
Hints

Max Score After Split

Split string to maximize left zeros and right ones using prefix counting.