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.

|Home/Coding & Algorithms/TikTok
TikTok logo
TikTok
Jan 18, 2026
mediumSoftware EngineerTechnical ScreenCoding & Algorithms
7
0
Loading...

Submit Your Answer to Earn 20XP

Sign in to leave a comment

Loading comments...