Your Dashboard
Interview Coaching
Learn
System Design
ML System Design
Code
Behavioral
Salary Negotiation
Interview Guides
Search
⌘K
Get Premium
Leetcode 1422. Maximum Score After Splitting a String
Given a binary string, choose a split into two non-empty substrings to maximize the sum of zeros in the left part and ones in the right part; compute the maximum score over all split positions (can be done by scanning with prefix/suffix counts).
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.