InterviewDB Question

Whatnot SWE Phone - Number of Islands

Question Details

Problem Count the number of islands (connected groups of 1s) in a 2D binary grid using DFS or BFS. Likely LeetCode equivalent Directly matches Number of Islands (LC 200). Tags graph, matrix, bfs, dfs, whatnot

Full Details

🔒

Unlock all Whatnot questions

Full insider details, leaked discussions, and candidate experiences.

Get full access — $100 a year, unlimited access

About This Question

This is a reported interview question from a whatnot interview during the phone round.

It covers the following topics: Phone, Graph, Coding, Onsite, Matrix .