← Amazon questions

Divide array with equal cherries

Filed under Amazon

Given a 2D grid of '#' and '.', determine if it is possible to divide the grid into two equal halves (by area) using a single horizontal or vertical cut such that both halves contain an equal number…

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 Amazon questions

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