← Google questions
CodingReported in a candidate post, Jan 2022

Maximum area of the largest rectangle owned by a player in a matrix

Filed under Google

Given a 2D matrix of characters where each character represents a player's token, find the maximum area of a rectangular subgrid consisting entirely of the same player's token.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Google questions

Collected from public candidate posts and coding forums. Updated Nov 2026.