← Questions
Largest all-ones square and rectangle in a binary matrix
0
I was asked this
No reports yet. Sign in to say where you were asked it.
A coding interview question asked in Amazon's coding round and at OpenAI, Uber and 1 more company, last asked Nov 2026. It tests dynamic programming, matrix and stacks.
Sign in to unlock this question
The full prompt, the worked answer and your own canvas or code with the AI tutor. New accounts get 5 credits: each one unlocks a question for good.
Where it's asked
- Amazon · Coding · Last asked Nov 202655 min · Usually two rounds; one is often an object-oriented design built in steps · No AI
- OpenAI · Agentic coding (beta) · Last asked Sep 2026An existing codebase and changes too large to write by hand; you work through them with an AI coding agent · An AI coding agent is expected
- Uber · Coding · Last asked Apr 202660 min · Two rounds; one is often object-oriented design (a parking lot, a meeting scheduler, an expression evaluator) · No AI, except a newer AI-assisted debugging round in some senior loops
- Databricks · Algorithms (two rounds) · Last asked Nov 202560 min · Live coding in CoderPad or similar
What it tests
dynamic programming · matrix · stacks
Sign in to submit your code; every attempt is kept here.
Your code and the AI tutor open when you unlock this question.


