Grokking the Coding Interview: Patterns for Coding Questions
Ask Author
Back to course home

0% completed

Vote For New Content
Could be missing edge cases, but it seems like the solution would be the number ...

Anthony DiFede

Nov 23, 2022

Could be missing edge cases, but it seems like the solution would be the number of land cells in the island * 2 + 2?

1

0

Comments
Comments
A
Anthony DiFede3 years ago

To break this logic, take example 1 and place a land cell at [1][2]

On this page