Quick Overview

Count four-connected islands and find the largest island using DFS or BFS, with correct visited-state handling and all-water behavior.

Count Islands and Return the Largest Island Size

Company: Oracle

Role: Software Engineer

Category: Coding & Algorithms

Difficulty: medium

Interview Round: Onsite

Overview: Count four-connected islands and find the largest island using DFS or BFS, with correct visited-state handling and all-water behavior.

Read the full Oracle Software Engineer interview experience this question came from

Loading…