connected-components Interview Questions
13 interview questions in our bank cover connected-components, most of them Coding & Leetcode-style Questions. They average 3.0/5 difficulty — medium — and each one was reported by a candidate after a real interview. Companies known to ask about connected-components: Uber, Visa, Bridgewater, Nuro, Block, and 7 more.
Practice these on the problems board →Companies that ask about connected-components
Question mix
- Coding & Leetcode-style Questions13
Difficulty
- 2/5 — easy1
- 3/5 — medium11
- 4/5 — hard1
Questions tagged connected-components
Minimum Score of a Path Between Two Cities
3/5This graph theory challenge, reported from Visa technical interviews, requires finding an optimal route across a network of connected locations. Instead of traditional shortest-path metrics, the objective centers on identifying a trajectory where the weakest link or maximum weight encountered along the way is minimized. It tests your proficiency with graph traversal algorithms and data structures like disjoint-set unions or modified search strategies. Gain full access to the complete problem statement and verified code solution with your subscription.
Coding & Leetcode-style QuestionsVisaNumber 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 QuestionsBridgewaterMerge Detections from Multiple Vision Systems (Bounding Box Fusion)
3/5Reported during Nuro engineering interviews, this problem involves building a fusion algorithm to combine overlapping spatial predictions from multiple automated vision detectors into a clean, consolidated set of bounding boxes for video frames. It tests spatial reasoning, scoring thresholds, and geometric overlap calculations. To access the comprehensive problem description, edge cases, and model code solution, a subscription is required.
Coding & Leetcode-style QuestionsNuroCustomer Transaction Network
3/5Explore this multi-stage graph modeling exercise reported from Block, where you must design a system that dynamically tracks customer interactions and answers increasingly complex relationship queries. The task evaluates your ability to refactor code rapidly under changing requirements while maintaining clean and efficient data structures. Access to the full multi-part problem statement, architectural progression, and complete model solution requires a paid subscription.
Coding & Leetcode-style QuestionsBlockNumber 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 QuestionsSamsungFind Sizes of Connected Components in Undirected Graph
3/5In this C3.ai technical assessment, you are tasked with analyzing network relationships represented as an undirected graph. The objective is to partition the nodes into distinct subgraphs and compute the exact population size of each isolated cluster. This exercise evaluates your proficiency with graph traversal algorithms, such as depth-first search or disjoint-set data structures. Access the complete problem description and a comprehensive model solution by purchasing a subscription.
Coding & Leetcode-style QuestionsC3.aiFind 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 Good Pairs
3/5In this Commvault interview question, you are given an undirected graph and asked to calculate the total number of node pairs that reside in completely separate connected components. The challenge requires you to analyze graph topology and effectively group vertices to determine reachability between disconnected regions. It is an excellent test of graph traversal algorithms and disjoint-set data structures. Unlock the full problem details and the optimal model solution by acquiring a subscription.
Coding & Leetcode-style QuestionsCommvaultCount Ball Clusters on a Grid
3/5This Uber interview question explores spatial relationships by asking you to find the minimum number of isolated clusters formed by coordinate points on a grid based on a distance threshold and transitive attraction rules. You must compute connected components to determine how many separate chain reactions are necessary to sweep through all coordinates. It is a brilliant test of graph traversal and geometry algorithms. Full problem details and the complete model solution are available to subscribers.
Coding & Leetcode-style QuestionsUberMaximum Group Size by Overlapping Work Intervals (Connectivity via Overlap Paths)
3/5In this Rubrik interview question, you must analyze temporal intervals to determine connectivity patterns among a group of individuals. By modeling timeline overlaps as graph relationships, your task is to identify connected components and determine the maximum cluster size. This problem examines your expertise in graph theory, interval scheduling, and efficient traversal algorithms. The full problem specification and reference implementation are available to subscribers only.
Coding & Leetcode-style QuestionsRubrikMaking a Large Island
4/5Discover how to maximize spatial connectivity by modifying a single element within a grid matrix, a classic algorithmic puzzle frequently featured in Uber technical interviews. This problem tests your expertise in graph theory, specifically connected components, breadth-first search, or depth-first search traversal strategies. You will learn how to efficiently compute region sizes and evaluate potential bridging points to merge adjacent clusters for optimal results. Strengthen your two-dimensional array manipulation skills and prepare for top-tier technical evaluations. The full problem and model solution require a subscription.
Coding & Leetcode-style QuestionsUber
Studied alongside
connected-components interview FAQ
- How many connected-components interview questions are there?
- 13 reported questions, mostly Coding & Leetcode-style Questions.
- Which companies ask connected-components questions?
- Uber (2), Visa (1), Bridgewater (1), Nuro (1), Block (1), Illumio (1), Samsung (1), C3.ai (1).
- How hard are connected-components questions?
- They average 3.0 out of 5: 1 at 2/5, 11 at 3/5, 1 at 4/5.