Largest Island Perimeter
Google interview questions · Medium · Coding round · 6 tests
Scan a binary grid and return the maximum perimeter achieved by any connected island.
The full question, tests and reference solution are available with a plan that includes Google.
Run your code with Ctrl+Enter to see results.