flood-fill Interview Questions
10 interview questions in our bank cover flood-fill, most of them Coding & Leetcode-style Questions. They average 2.9/5 difficulty — medium — and each one was reported by a candidate after a real interview. Companies known to ask about flood-fill: Bridgewater, Chewy, Clay, Illumio, Samsung, and 5 more.
Practice these on the problems board →Companies that ask about flood-fill
Question mix
- Coding & Leetcode-style Questions9
- System Design for ML1
Difficulty
- 2/5 — easy1
- 3/5 — medium9
Questions tagged flood-fill
Number of Islands (BFS / DFS)
3/5Featured in Bridgewater interviews, this graph traversal challenge asks you to count distinct land clusters within a matrix grid where cells connect horizontally or vertically. You will explore systematic grid exploration techniques using either breadth-first or depth-first search paradigms to isolate connected components. The task is fundamental for evaluating recursion, graph traversal, and matrix handling skills. Accessing the full problem description and the step-by-step solution needs an active subscription.
Coding & Leetcode-style QuestionsBridgewaterMaximal Island Area in a Matrix
3/5In this Chewy interview question, you are given a binary grid and asked to determine the maximum expanse formed by connected groups of identical elements. The core challenge requires implementing graph traversal algorithms such as breadth-first search or depth-first search to map boundaries and compute aggregate regions efficiently. Additionally, you must construct robust validation test cases using random matrix generation tools to verify your code's correctness. Unlock the complete problem text, edge-case analysis, and expert model solution with a subscription.
Coding & Leetcode-style QuestionsChewyImplement Minesweeper Game
3/5Recreate a classic arcade experience with this Clay interview question that asks you to build the core logic for a Minesweeper game. You will need to manage a dynamic grid, randomize hidden hazards, and implement recursive square-revealing behavior when empty areas are uncovered. This exercise assesses your matrix manipulation skills, state management, and ability to handle cascading game rules cleanly. Unlock the full implementation guide and comprehensive test cases by subscribing to our service.
Coding & Leetcode-style QuestionsClayNumber of Islands Variant
3/5This classic grid traversal puzzle is featured as a reported interview question from Illumio. The challenge requires you to analyze a two-dimensional matrix filled with binary values representing land and water, where adjacent land cells group together to form distinct territories. Your goal is to accurately compute the total number of independent land masses using standard matrix exploration techniques. This question tests your foundational depth-first or breadth-first search implementation abilities. Unlock the full problem details and expert model solution with a subscription.
Coding & Leetcode-style QuestionsIllumioNumber of Islands (grid connected components)
3/5This classic Samsung interview challenge requires you to determine the total count of distinct connected components formed by adjacent land cells within a two-dimensional binary matrix. You will need to apply graph traversal strategies like depth-first search or breadth-first search to explore and mark visited regions effectively. Access the complete problem breakdown, constraints, and optimal solution by upgrading to a paid subscription.
Coding & Leetcode-style QuestionsSamsungMinesweeper Game Design (OOD)
3/5In this engaging object-oriented design challenge reported at Amazon, candidates must architect a complete digital version of Minesweeper featuring dynamic board generation, recursive clearing mechanisms, and state management. The exercise tests your capability to structure clean classes, handle user actions cleanly, and optionally scale system components for persistence and multiplayer synchronization. It serves as a comprehensive test of software engineering principles and architectural foresight. Unlock the complete design guide and optimal solution walkthrough with a subscription.
System Design for MLAmazonMinesweeper Board Update
3/5Featured in a Nuro coding assessment, this problem simulates the classic Minesweeper mechanics where a user click triggers board updates, revealing empty zones, mine counts, or hidden dangers. You must apply recursive traversal or breadth-first search techniques to propagate revealing moves correctly according to adjacent mine clues. This challenge evaluates your grid traversal proficiency and state-machine implementation skills. To read the complete problem statement and study the optimal solution, a subscription is required.
Coding & Leetcode-style QuestionsNuroFind Largest House Area
2/5In this HSBC interview question, you are given a grid representation of a residential neighborhood and asked to find the largest contiguous cluster of structure cells representing a single house. Diagonal connections are excluded, meaning you must accurately identify connected components using standard traversal techniques. The task evaluates your graph traversal and matrix manipulation skills. To access the complete problem requirements and the optimal algorithmic solution, a subscription is required.
Coding & Leetcode-style QuestionsHSBCBlack and White Chess Largest Connected Region
3/5This Hudson River Trading interview question requires you to analyze a two-dimensional grid of dual-tone elements and determine the dimensions of the largest contiguous cluster of matching items. This task assesses your capability in applying breadth-first search or depth-first search traversal techniques over matrix structures to group adjacent elements effectively. Discover the complete problem guidelines and optimized code implementation by unlocking our full content.
Coding & Leetcode-style QuestionsHudson River TradingNumber of Islands and Number of Distinct Islands
3/5This reported interview question from XPeng challenges candidates to navigate a two-dimensional grid representing terrain boundaries to count standard land clusters while also identifying how many unique spatial configurations exist among them. This task tests your graph traversal capabilities, pattern recognition, and ability to normalize geometric structures for accurate comparison. To examine the complete problem statement and discover the optimal programmatic solution, a paid subscription is required.
Coding & Leetcode-style QuestionsXPeng
Studied alongside
flood-fill interview FAQ
- How many flood-fill interview questions are there?
- 10 reported questions, mostly Coding & Leetcode-style Questions.
- Which companies ask flood-fill questions?
- Bridgewater (1), Chewy (1), Clay (1), Illumio (1), Samsung (1), Amazon (1), Nuro (1), HSBC (1).
- How hard are flood-fill questions?
- They average 2.9 out of 5: 1 at 2/5, 9 at 3/5.