Available question text
Given a 2D grid representing a farmland where 1 denotes a defender and 0 denotes a farmer, find the position of the most vulnerable farmer. A farmer's vulnerability is defined by the number of defenders present before them in their row. Return the position as a 1-based index [row, column].
Related questions
Continue with questions that share topics or the same question type.
- Check if Binary String Has at Most One Segment of Ones
Coding
- Container With Most Water
Coding · Array · Greedy · Two Pointers
- Count Partitions With Max-Min Difference at Most K
Coding
- Design Most Recently Used Queue
Coding
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
Amazon
Finding the Most Vulnerable Farmer
Reported Sep 24, 2024 · 1 source report
INTERN
Source snapshot: Nov 12, 2026
View source