Your Dashboard
Interview Coaching
Learn
System Design
ML System Design
Code
Behavioral
Salary Negotiation
Interview Guides
Search
⌘K
Get Premium
Leetcode 927. Three Equal Parts
Given a binary array, find indices to split it into three non-empty contiguous parts that represent the same binary value (leading zeros allowed), or return [-1, -1] if impossible. The core challenge is determining whether the three parts can match the same bit pattern (considering trailing zeros and total ones) and producing valid split indices.
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.