Max area of island

0
Remix

Given a binary matrix, return the area of the largest island: a group of 1 cells connected up, down, left or right (diagonals don't connect).

AmazonMetaOnline assessmentLast asked Mar 2026
No answer yet. Write the first one; the best answer gets endorsed.