Count islands and distinct shapes

Quick Overview

This question evaluates a candidate's understanding of grid-based graph traversal and connected-component detection, along with the ability to recognize and canonicalize distinct island shapes.

Count islands and distinct shapes

Company: LinkedIn

Role: Software Engineer

Category: Coding & Algorithms

Difficulty: medium

Interview Round: Onsite

##### Question LeetCode 200. Number of Islands LeetCode 694. Number of Distinct Islands https://leetcode.com/problems/number-of-islands/description/ https://leetcode.com/problems/number-of-distinct-islands/description/

Quick Answer: This question evaluates a candidate's understanding of grid-based graph traversal and connected-component detection, along with the ability to recognize and canonicalize distinct island shapes.

|Home/Coding & Algorithms/LinkedIn
LinkedIn logo
LinkedIn
Jul 29, 2025, 8:05 AM
mediumSoftware EngineerOnsiteCoding & Algorithms
4
0

Submit Your Answer to Earn 20XP

Sign in to leave a comment

Loading comments...