Available question text
Find the maximum number of consecutive enemy forts (0s) that can be captured by moving an army from one of your forts (1) to an empty position (-1) such that the path contains only 0s; return that length (or 0 if no such 1→-1 move exists).
Related questions
Continue with questions that share topics or the same question type.
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 2511. Maximum Enemy Forts That Can Be Captured
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source