Given a matrix of 0s and 1s, find the number of cells in the largest region of connected 1s. Cells are connected horizontally, vertically, or diagonally.
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.