Count distinct island shapes in a grid

Quick Overview

This question evaluates understanding of grid-based connectivity and shape equivalence, exercising skills in graph traversal, spatial normalization, and efficient deduplication of patterns.

Count distinct island shapes in a grid

Company: TikTok

Role: Software Engineer

Category: Coding & Algorithms

Difficulty: medium

Interview Round: Technical Screen

Overview: This question evaluates understanding of grid-based connectivity and shape equivalence, exercising skills in graph traversal, spatial normalization, and efficient deduplication of patterns.

TikTok logo
TikTok
Jan 18, 2026
mediumSoftware EngineerTechnical ScreenCoding & Algorithms
8
0
Loading...