grid Interview Questions
113 interview questions in our bank cover grid, most of them Coding & Leetcode-style Questions. They average 3.1/5 difficulty — medium — and each one was reported by a candidate after a real interview. Companies known to ask about grid: Uber, Meta, Waymo, ByteDance, Snowflake, and 15 more.
Practice these on the problems board →Companies that ask about grid
Question mix
- Coding & Leetcode-style Questions113
Difficulty
- 2/5 — easy10
- 3/5 — medium77
- 4/5 — hard26
Questions tagged grid
In-Place Sub-Matrix Move with Overlap
3/5Reported from a Microsoft interview, this advanced matrix manipulation challenge requires relocating a smaller sub-grid within a larger two-dimensional array entirely in-place. The primary hurdle is managing source and destination region overlaps correctly without overwriting unread data during the shift, while also clearing out abandoned cells. It tests your spatial reasoning, index manipulation, and ability to handle complex boundary conditions without allocating auxiliary memory grids. The complete problem statement and optimized model solution require a subscription.
Coding & Leetcode-style QuestionsMicrosoftFastest Commute Mode Through a Grid
3/5Encountered in a Databricks interview, this pathfinding puzzle challenges you to navigate a matrix containing various transportation types, each carrying distinct time and financial tolls, while locating the quickest journey between starting and ending points. The problem evaluates advanced graph search algorithms and tie-breaking logic. The full problem and model solution require a subscription.
Coding & Leetcode-style QuestionsDatabricksMaximal Square and Maximal Rectangle in Binary Matrix
3/5Explore a classic two-dimensional matrix analysis challenge commonly asked by Databricks, focusing on identifying maximal uniform regions within binary data grids. This problem tests your ability to apply dynamic programming principles efficiently to compute the largest square and rectangular boundaries composed entirely of matching elements. Candidates must optimize spatial memory usage and runtime complexity while evaluating subgrid states. Access the complete problem description, analysis, and clean model solution through our subscription plan.
Coding & Leetcode-style QuestionsDatabricksGeneralized M×N Tic-Tac-Toe with Win Length K
2/5Reported during interviews at Databricks, this object-oriented design challenge requires you to build a flexible, generalized version of Tic-Tac-Toe on a custom grid with a variable winning sequence length. The exercise tests your ability to manage state changes, track turns, and implement robust win-detection algorithms across rows, columns, and diagonals for boards of arbitrary dimensions. Unlock the complete problem prompt, interactive methods, and production-ready solution by subscribing today.
Coding & Leetcode-style QuestionsDatabricksNeuron Firing Cellular Automata
3/5Explore this intriguing coding challenge involving cellular automata and neural firing patterns, frequently reported from interviews at Scale AI. This exercise evaluates your ability to simulate complex state transitions over discrete time steps while managing grid boundaries and efficient updates. You will need to design an algorithm that models biological or artificial activation rules cleanly and efficiently under strict constraints. To view the complete problem description, comprehensive test suites, and an optimized model solution, a subscription is required.
Coding & Leetcode-style QuestionsScale AI2-D Matrix Transpose with Memory-Layout Discussion
3/5Explore low-level systems programming concepts with this NVIDIA interview question centered around matrix transposition and computer memory architecture. Beyond writing the core transformation algorithm for two-dimensional grids, candidates must articulate the performance implications of row-major versus column-major layouts, hardware cache locality, and in-memory constraints. This evaluation tests your systems engineering prowess and hardware-aware optimization mindset. Unlock the full technical discussion points, performance benchmarks, and expert model solution with a paid subscription.
Coding & Leetcode-style QuestionsNVIDIAMatrix Border Sort and Clockwise Fill
3/5Tackle this engaging matrix manipulation puzzle reported during Capital One software engineering interviews. This challenge evaluates your proficiency with multi-dimensional array traversal, boundary extraction, and precise coordinate mapping. You will need to carefully handle concentric layers and reinsert elements in a specific rotational direction without losing data integrity. Unlock the detailed problem statement, edge-case analysis, and fully implemented solution by securing a subscription.
Coding & Leetcode-style QuestionsCapital OneMaximum Sum Path in a 2D Array
3/5In this Glean interview question, candidates must navigate a two-dimensional grid from the starting corner to the finish while maximizing the accumulated numerical value along the route. Restricted to specific directional movements, developers must apply dynamic programming principles to discover the optimal path. This challenge examines matrix traversal strategies and memoization techniques. Access the complete problem statement and a verified code solution with a subscription.
Coding & Leetcode-style QuestionsGleanMatch-Three Color Grid Elimination and Gravity
3/5This Capital One interview question evaluates your ability to simulate grid-based transformations and coordinate updates. You will work with a two-dimensional matrix where elements are marked for removal based on neighboring color matches, followed by a gravity phase that shifts remaining items downward. This challenge tests matrix traversal logic, state management, and efficient manipulation of grid data structures. The complete problem statement, comprehensive test cases, and a fully explained model solution require a subscription.
Coding & Leetcode-style QuestionsCapital OneRandomly Populate Grid with Connected Equal-Size Token Regions
4/5Learn how to partition a grid into perfectly balanced, contiguous regions for multiple distinct tokens using randomized spatial expansion techniques. Highlighted as an onsite challenge during Waymo interviews, this problem evaluates your grasp of graph traversal, multi-source breadth-first search, and retry mechanisms necessary for complex layout constraints. Developing a robust solution demands careful handling of spatial boundaries and randomized seed placement to ensure all regions remain equally sized and fully connected. Unlock the full technical explanation and reference solution code with a subscription.
Coding & Leetcode-style QuestionsWaymoNumber of Islands and Grid BFS Variants
3/5This frequently reported ByteDance interview question evaluates your ability to navigate two-dimensional matrices using graph traversal techniques. You will be tasked with identifying distinct clusters of connected elements within a grid, alongside common variations such as computing region sizes and calculating boundaries. This exercise tests your proficiency in implementing breadth-first and depth-first search algorithms efficiently under constraints. To explore the complete problem statement, optimal algorithmic approaches, and fully working code implementations, a subscription is required.
Coding & Leetcode-style QuestionsByteDanceWord Search II
4/5Navigating multi-directional character matrices is a staple of technical screenings, as featured in this classic Uber interview challenge. The objective is to efficiently locate and extract all valid vocabulary terms hidden within a two-dimensional grid of letters based on adjacent cell connectivity rules. Solving this problem requires pairing backtracking search algorithms with prefix tree data structures to prune invalid paths early and ensure fast execution. Review the complete problem breakdown, underlying algorithmic principles, and verified code solutions by upgrading to a paid subscription.
Coding & Leetcode-style QuestionsUberWord Search in Rows and Columns
2/5In this Cisco interview scenario, candidates are tasked with scanning a character grid to verify the existence of specific words arranged horizontally or vertically in either direction. The puzzle evaluates matrix traversal skills, string matching logic, and boundary condition handling while ignoring diagonal paths. It is an effective test of two-dimensional array navigation and search optimization. The complete problem description and clean model solution are restricted to active subscribers.
Coding & Leetcode-style QuestionsCiscoNumber of Islands and Total Island Perimeter
3/5Analyze a grid-based spatial environment to simultaneously determine distinct regional clusters and calculate their aggregate boundary lengths. This classic graph traversal puzzle has been featured in technical interviews at ByteDance, testing your proficiency with matrix traversal techniques and spatial reasoning. You will develop robust algorithms to inspect connected components efficiently. Gaining access to the full problem context and model solution requires a subscription.
Coding & Leetcode-style QuestionsByteDanceRow Maximum / Column Minimum
2/5This reported interview question from Cisco challenges candidates to inspect a two-dimensional grid of numbers and locate a specific saddle point that achieves the maximum value in its row while simultaneously holding the minimum value in its column. Solving this problem effectively tests your ability to efficiently scan matrix structures, apply boundary checks, and handle conditional fallback states when no such coordinate exists. Discovering the complete problem statement and reviewing the expert-crafted model solution require a subscription.
Coding & Leetcode-style QuestionsCiscoMaking a Large Island by Flipping One Zero
4/5Explore this engaging graph traversal challenge frequently featured in Meta technical interviews. Candidates are tasked with analyzing a grid matrix to determine the largest possible contiguous region of connected elements achievable after performing a single targeted modification. This problem evaluates your grasp of connected components, depth-first search strategies, and spatial reasoning under constraints. Master the underlying graph concepts to efficiently evaluate neighborhood expansions without brute-force recalculations. The complete problem description and model solution require a subscription.
Coding & Leetcode-style QuestionsMetaMax Value of Valid Expression on a Grid Path
4/5This advanced algorithmic challenge, featured in technical assessments at Capital One, tests grid traversal and dynamic programming strategies. Candidates must navigate a two-dimensional matrix containing digits and operators, moving exclusively downward or rightward to construct valid arithmetic expressions along monotonic paths. The difficulty lies in filtering out malformed mathematical sequences while simultaneously maximizing the evaluated numerical outcome of valid paths. To unlock the complete problem description, complexity analysis, and verified model solution, subscribe to our service today.
Coding & Leetcode-style QuestionsCapital OneWalls and Gates
3/5Featured as a common Meta technical interview challenge, this problem requires you to calculate the shortest path from multiple designated endpoints to every open space on a two-dimensional grid while avoiding obstacles. It tests your proficiency with breadth-first search graph traversal techniques and multi-source distance propagation. You must efficiently update grid cells to reflect minimal traversal steps without exceeding time limits. To view the complete problem breakdown and optimal solution code, a subscription is required.
Coding & Leetcode-style QuestionsMetaThree-Column Grid Coloring Count
3/5This reported Intuit interview question challenges candidates to determine the total number of valid color combinations for a narrow rectangular grid using a limited palette. The core task evaluates proficiency in efficient dynamic programming techniques to manage sequence dependencies and state transitions under large scaling constraints while producing results modulo a prime number. Handling spatial exclusion rules without brute-force enumeration forms the crux of the evaluation. Access to the full problem description and expert model solution requires a subscription.
Coding & Leetcode-style QuestionsIntuitFill Dashes with Nearest Letter
3/5Reported from an Uber backend screening interview, this puzzle requires updating a 2D board filled with symbols and blank slots by expanding valid characters into their immediate orthogonal neighbors. The secondary objective involves tie-breaking mechanisms based on alphabetical priority when multiple options are equidistant. This scenario tests your grasp of multi-source breadth-first search patterns and grid traversal algorithms. Unlock the complete problem specification and model solution by purchasing a subscription.
Coding & Leetcode-style QuestionsUberCandy Crush Grid Matching, Clearing, and Gravity
3/5Simulating grid-based mechanics and iterative stabilization processes is a classic test of matrix manipulation and algorithmic thinking. This reported Roblox interview question requires you to detect contiguous matching runs of elements, clear them simultaneously, and apply gravity so that remaining items cascade downward until equilibrium is reached. It tests your proficiency with multidimensional arrays and recursive simulation loops. Access the complete problem guidelines and a thoroughly optimized model solution with a subscription.
Coding & Leetcode-style QuestionsRobloxNumber 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 QuestionsBridgewaterMinimum Path Sum
3/5Optimizing traversal routes across a matrix is a classic dynamic programming challenge often featured in coding evaluations for software engineering roles at Datadog. This problem tests your ability to compute the most cost-effective journey through a grid of numerical values while adhering to strict movement restrictions. You will need to apply efficient state-transition strategies to systematically determine the optimal accumulated weight from start to finish. Unlock the complete problem statement and verified model solution with a subscription.
Coding & Leetcode-style QuestionsDatadogTerrain Rendering + Water Drop Simulation
3/5This engaging coding challenge, reported from an Airbnb interview, tests your ability to handle two-dimensional grid simulations and text-based rendering. The first part requires generating a visual text representation of elevation profiles based on numerical input. The second part introduces fluid dynamics where you must calculate how liquid disperses, flows downward, and accumulates in depressions. Candidates must carefully manage boundary conditions and matrix manipulation. To explore the complete problem statement, optimal algorithms, and verified code solutions, a paid subscription is required.
Coding & Leetcode-style QuestionsAirbnbFirst Solar Panel Placement in a Binary Grid
3/5Prepare for a grid-based spatial search challenge reported from software engineering interviews at Tesla, focusing on locating the earliest viable placement region for a rectangular asset within a constrained matrix. You will need to evaluate blocked versus open space efficiently, starting from a straightforward brute-force approach before advancing to optimized scanning techniques. This exercise evaluates core matrix manipulation and algorithm refinement abilities. The complete problem description, test suite, and optimal solution are available exclusively to subscribers.
Coding & Leetcode-style QuestionsTeslaBalloon Explosion
3/5Encountered during eBay coding interviews, this puzzle requires you to simulate a grid-based matching game involving colored elements and cascading physics rules. You must write an algorithm that detects adjacent matching groups, removes them, and correctly applies gravity so remaining items shift downward into vacant positions. This exercise evaluates your grid traversal logic, simulation accuracy, and problem-solving creativity. Unlock the full problem details and reference solution with a subscription.
Coding & Leetcode-style QuestionseBayCount Same-Color Squares in an Unbounded Grid
3/5In this engaging coding challenge reported during a Waymo phone screen, candidates must compute the number of uniform-color squares within an unbounded, sparse two-dimensional canvas. This puzzle tests your ability to efficiently manage coordinate-based data structures without pre-allocated size limits while recognizing contiguous shapes. You will need to implement a robust search or traversal strategy to isolate monochromatic regions. Access to the comprehensive problem statement and the verified model solution requires an active subscription.
Coding & Leetcode-style QuestionsWaymoShortest Path in a Grid with Obstacle Elimination
4/5This advanced graph traversal problem, commonly asked at Meta, challenges you to find the fastest route across a matrix filled with open pathways and impassable barriers. You must navigate from the top-left corner to the bottom-right while strategically using a limited budget to punch through wall cells. The task evaluates your mastery of breadth-first search and state-space expansion heuristics under strict constraints. Access to the full prompt and the optimal model solution requires a paid subscription.
Coding & Leetcode-style QuestionsMetaWord Search II with Trie
4/5Master this popular ByteDance interview question focused on locating multiple dictionary terms inside a two-dimensional grid of letters. You will need to build an efficient prefix tree data structure and combine it with depth-first search traversal to explore adjacent matrix cells while avoiding duplicate finds. This problem evaluates advanced string matching, backtracking optimization, and spatial awareness. Unlock the full challenge details and professional code solution by getting a subscription.
Coding & Leetcode-style QuestionsByteDanceNearest Destination on 2D Grid (Multi-Source BFS)
3/5Reported as a classic DoorDash coding interview challenge, this grid-based problem tests your mastery of multi-source breadth-first search algorithms. Candidates must calculate shortest path distances across a spatial map filled with walkable regions, barriers, and target destinations while carefully handling reachability constraints and obstacle interactions. The task emphasizes optimal graph traversal techniques and precise matrix manipulation. Unlock the full problem details, algorithmic approach, and clean production-ready code by obtaining a subscription.
Coding & Leetcode-style QuestionsDoorDashWalls and Gates / Max Area of Island
3/5This Meta interview question explores dual matrix traversal techniques, combining shortest path determinations and connected component measurements. You will work with two-dimensional grids to compute spatial distances from specific markers or measure the extent of contiguous regions using graph search algorithms like breadth-first or depth-first search. The problem tests your spatial reasoning, matrix manipulation skills, and optimization strategies for grid-based data structures. Explore the complete problem overview and comprehensive solution by purchasing a subscription.
Coding & Leetcode-style QuestionsMetaMaximum Island Perimeter
3/5Tackle this engaging matrix traversal challenge frequently asked in technical interviews at Snapchat. You are tasked with analyzing a binary grid representing land and water to locate all distinct land masses and compute their boundaries. Instead of simply counting components, your goal is to find the maximum perimeter across every identified region while efficiently handling edge cases like internal holes and boundary-touching components. Unlock the comprehensive problem description and optimal algorithmic solution with a paid subscription.
Coding & Leetcode-style QuestionsSnapchatOut of Boundary Paths
4/5This algorithmic problem, featured in Apple technical interviews, requires you to calculate all possible movement sequences that allow a particle to escape a bounded grid within a restricted number of steps. It evaluates your mastery of combinatorics, matrix navigation, and memoization techniques to handle large output values efficiently. The full problem details, test cases, and clean solution code require a subscription.
Coding & Leetcode-style QuestionsAppleMinesweeper Board Generation
2/5Explore a classic grid-based programming challenge reported during technical interviews at Block, where you must design a procedural generator for a popular retro puzzle game. This task requires you to strategically scatter hidden hazards across a two-dimensional matrix of specified dimensions while ensuring empty zones are correctly formatted. It tests your command over randomized positioning algorithms, matrix manipulation, and basic state initialization logic. Elevate your coding interview preparation by practicing this clean implementation exercise. The full problem and model solution require a subscription.
Coding & Leetcode-style QuestionsBlockBattle with Upper Moon 6
4/5Confront an intricate grid simulation puzzle featured in coding assessments at Rubrik, where you manage the cascading revival states of defeated entities across a matrix. Each cell updates based on precise chronological rules and hierarchical dependencies, requiring sophisticated tracking of dependent subtrees and state transitions over multiple turns. This rigorous challenge evaluates your advanced graph traversal strategies, multidimensional array manipulation, and algorithmic efficiency under complex business rules. The full problem and model solution require a subscription.
Coding & Leetcode-style QuestionsRubrikFind Robot Position from Blocker Distances
3/5This spatial reasoning puzzle, featured in an Uber technical interview, requires finding specific robotic entities on a grid whose clearances to surrounding obstacles in all four cardinal directions match a given set of target measurements. It tests your ability to efficiently scan grid structures and calculate directional boundaries. The comprehensive problem description, optimal algorithmic approach, and complete tested solution are available exclusively to paid subscribers.
Coding & Leetcode-style QuestionsUberImplement 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 QuestionsClayInteractive Grid in React
3/5This frontend engineering question, featured in Hopper interviews, focuses on building an interactive two-dimensional matrix using a modern component framework. Candidates must render a dynamic layout of clickable elements and manage state to reflect pre-selected coordinates visually with distinct styling. It evaluates component lifecycle handling, event management, and UI rendering best practices in contemporary JavaScript environments. Review the detailed guidelines and full reference code by purchasing a subscription.
Coding & Leetcode-style QuestionsHopperMinimize Maximum Distance by Adding One Colored Source
4/5Examine a sophisticated matrix optimization challenge frequently used in assessment rounds at Amazon. Given a grid containing pre-existing focal points, the goal is to strategically introduce an additional focal point to minimize the greatest distance from any grid location to its nearest reference point under multi-directional movement rules. This problem tests advanced spatial reasoning and grid traversal strategies. Access to the full problem description, analytical breakdown, and optimal solution requires a paid subscription.
Coding & Leetcode-style QuestionsAmazonNumber of Islands (Plain and Streaming)
3/5Grid traversal and connected component identification are classic themes in technical evaluations, as seen in this reported Uber interview question. The objective is to compute distinct land masses within a matrix based on multi-directional adjacency rules, alongside a challenging dynamic update follow-up where terrain modifies iteratively. This problem tests your graph exploration abilities and proficiency with disjoint-set data structures to maintain real-time aggregates efficiently. Preparing for this scenario sharpens your algorithmic thinking for spatial data challenges. To view the full problem description and expert model solution, a subscription is required.
Coding & Leetcode-style QuestionsUberMinimum Distance in Grid to Nearest CVS
3/5Tackle this classic grid traversal challenge featured in software engineering assessments at GE Healthcare. The task involves evaluating spatial coordinates to determine optimal pathways while minimizing aggregate travel distance to designated target locations. You will analyze the trade-offs between brute-force techniques and more sophisticated algorithmic approaches. To view the complete problem breakdown and the optimal source code solution, unlock your subscription today.
Coding & Leetcode-style QuestionsGE HealthcareMinesweeper Board with Mine Counts
3/5Build a classic grid-based utility function reminiscent of technical rounds at Block, where you must programmatically populate a hazard-detection matrix. The assignment tests your matrix traversal abilities and neighborhood boundary checks to accurately compute adjacent threat tallies for every empty coordinate. Access to the full specifications, edge-case analysis, and a clean algorithmic solution requires a subscription.
Coding & Leetcode-style QuestionsBlockCode Craft: Restaurant Delivery Heatmap
3/5This spatial analysis challenge, frequently featured in software engineering interviews at DoorDash, tests your proficiency in grid manipulation and algorithmic efficiency. Given a coordinate plane and multiple entities with specific coverage zones and associated values, you must compute an aggregated metric for every cell based on overlapping radiuses. The exercise emphasizes optimizing spatial lookups and handling matrix boundaries correctly to generate the final density map. Gain access to the full problem description and a complete reference implementation with a paid subscription.
Coding & Leetcode-style QuestionsDoorDashRotting Oranges
2/5This classic grid-based simulation problem, frequently featured in Uber technical interviews, tests your proficiency with breadth-first search algorithms. You are given a matrix representing empty spaces, fresh produce, and spoiled items, where contamination spreads to adjacent cells at each time step. The goal is to determine the total duration needed to infect all reachable targets or identify if complete contamination is impossible. Unlocking the full problem description, algorithmic breakdown, and optimal code solution requires a subscription.
Coding & Leetcode-style QuestionsUberConnect-4-Style Board Game
2/5Step into this Airbnb interview question where you will program the classic drop-disc strategy game on a grid of configurable dimensions. The task requires managing player turns, simulating gravity so game pieces settle in the lowest available slots, and determining victory conditions across horizontal, vertical, and diagonal alignments. This exercise assesses your object-oriented design skills, matrix manipulation, and state machine logic. Unlock the complete problem breakdown and the clean model solution with a paid subscription.
Coding & Leetcode-style QuestionsAirbnbChinese Chess Horse Reachability with Blocked Legs
3/5Reported as an interview question at eBay, this grid-based pathfinding challenge adapts the movement rules of a traditional Chinese chess piece. You are tasked with determining whether a horse can successfully navigate to a target location on a restricted board while avoiding obstacles and accounting for blocked pivoting legs that restrict L-shaped jumps. The puzzle evaluates your graph traversal skills and spatial reasoning under custom movement constraints. Unlock the comprehensive problem statement and verified model solution with a subscription.
Coding & Leetcode-style QuestionseBayNumber 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 QuestionsIllumioLongest Zigzag Path in a Grid
3/5In this engaging graph exploration task reported during ByteDance interviews, you must locate the longest alternating sequence moving through a matrix of numerical values. The challenge tests your depth-first search or dynamic programming capabilities under strict directional change rules, ensuring no cell is visited twice while values bounce up and down. It assesses your capacity to navigate complex grid topologies with conditional transition states. The full problem and model solution require a subscription.
Coding & Leetcode-style QuestionsByteDanceShortest Path in a Grid (DFS/BFS) with DFS Backtracking + Memo/DP Follow-up
3/5This AppLovin interview question tests your pathfinding expertise by asking you to find the shortest route between two designated points on a grid obstructed by barriers. You will need to implement traversal strategies, compare search paradigms, and handle edge cases where destinations are unreachable. The exercise evaluates your proficiency with graph traversal algorithms and optimization techniques like memoization. Get full access to the complete problem breakdown and the verified model solution with a paid subscription.
Coding & Leetcode-style QuestionsAppLovinWord Search in a 2-D Grid
3/5This Snowflake interview question evaluates your ability to navigate a character matrix along contiguous horizontal and vertical paths to locate a specific sequence. Candidates must demonstrate proficiency in backtracking and graph traversal techniques to efficiently check possible routes without reusing identical grid positions. Access to the comprehensive problem description and optimal algorithmic implementation requires a subscription.
Coding & Leetcode-style QuestionsSnowflakeNumber 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 QuestionsSamsungGame of Life — In-Place and Infinite Board
3/5Explore the multi-dimensional complexities of Conway's cellular automation game in this classic algorithmic interview question frequently featured at Citadel. The challenge takes you through a progressive series of optimizations, moving from standard matrix manipulation to strict in-place memory constraints, handling massive grids, and eventually managing sparse or infinitely expanding board boundaries. It rigorously evaluates your spatial reasoning, bit-manipulation skills, and ability to scale algorithm performance under severe resource limits. Unlock the full problem details, step-by-step algorithmic progression, and optimal code solutions with a subscription.
Coding & Leetcode-style QuestionsCitadelBoard Score — Connected Areas × Crowns
3/5This Airbnb coding interview question requires calculating an aggregate score for a grid containing multi-attribute tiles encoding category types and value weights. Candidates must identify maximal connected components of identical terrain types, aggregate internal point distributions, and compute a final metric based on region size and cumulative values. Reviewing the complete problem details, graph traversal strategies, and the verified model solution requires an active platform subscription.
Coding & Leetcode-style QuestionsAirbnbShortest Maze Path with Keys and Doors
4/5Highlighted as a rigorous Meta interview problem, this graph traversal challenge asks you to find the shortest path through a grid laden with obstacles, locked barriers, and corresponding keys. Navigating successfully requires tracking your acquired inventory alongside your physical coordinates to ensure you can unlock pathways dynamically as you move. This tests advanced pathfinding algorithms, state-space graph modeling, and breadth-first search variations. Securing access to the complete puzzle breakdown and optimal solution requires a subscription.
Coding & Leetcode-style QuestionsMetaCount Unique Paths in a Grid
3/5Determine all possible movement routes across a matrix from the top-left corner to the bottom-right destination in this classic Okta interview task. The challenge tests your dynamic programming and combinatorics knowledge by restricting movement to specific directions only. You must construct an efficient approach that scales well with grid dimensions while avoiding redundant computations. Access to the complete problem description, constraints, and optimized model solution requires a subscription.
Coding & Leetcode-style QuestionsOktaConstruct Quad Tree
3/5Explore a classic hierarchical matrix compression problem often featured in technical rounds at Uber. This question challenges your ability to recursively partition spatial data and construct a specialized tree structure based on uniform region values. Testing your grasp of divide-and-conquer algorithms and tree manipulation, the exercise requires careful handling of quadrant boundaries and node states. Discover the complete algorithmic approach, optimal implementation techniques, and full solution code by subscribing today.
Coding & Leetcode-style QuestionsUberRotten Oranges / Multi-Source BFS (taxis)
3/5Master multi-source breadth-first search techniques with this grid-based distance calculation problem frequently asked at Google. Candidates are tasked with determining the shortest distance from every cell in a matrix to the nearest active source point, handling simultaneous expansions layer by layer. This exercise is exceptional for solidifying graph traversal patterns and handling grid-based state changes. Access the full problem details and expert-crafted solutions with a subscription.
Coding & Leetcode-style QuestionsGoogleRectangle Copy Inside a 2-D Array with O(1) Memory
3/5Encountered during Waymo onsite interviews, this algorithmic challenge requires shifting a sub-grid of data inside a two-dimensional matrix to a new location without allocating extra storage space. The core difficulty lies in handling overlapping source and destination boundaries correctly without corrupting data before it is read. Solving this puzzle efficiently tests your mastery of pointer manipulation, traversal direction, and constant-space constraints. To read the complete problem specifications and study the optimal implementation, please subscribe.
Coding & Leetcode-style QuestionsWaymoGrid Pathfinding with Walk and Jump Cells
3/5This Roblox interview question presents a grid pathfinding puzzle where movement mechanics depend entirely on the type of cell the player currently occupies. You must navigate between walk and jump squares while avoiding obstacles and leaping over intermediate cells to reach a target destination. The problem tests your advanced graph traversal and state-aware shortest-path algorithms on a matrix. Unlock the full problem details and expert model solution with a paid subscription.
Coding & Leetcode-style QuestionsRobloxAvoiding the Obstacles
4/5Featured in recent IMC Trading recruitment rounds, this grid traversal challenge requires finding a navigation route that maximizes safety from hazardous zones. You must compute a path to a target cell while keeping the closest distance to any barrier as large as possible using Manhattan metrics. This scenario examines your proficiency with advanced graph traversal, binary search on answer spaces, and shortest path algorithms. Unlock full access to view the comprehensive problem text, edge cases, and a clean, production-ready solution.
Coding & Leetcode-style QuestionsIMC TradingGrid Flower Placement
3/5Reported as a Google interview task, this puzzle involves arranging botanical items across a matrix subject to specific spatial spacing rules. Candidates must determine valid configurations or find the peak density of placements while respecting adjacency restrictions between items. This exercise evaluates spatial reasoning, backtracking, and constraint satisfaction techniques. Access the complete problem description, complexity analysis, and verified model solution by acquiring a subscription.
Coding & Leetcode-style QuestionsGoogleEscape Grid with Fire and Waiting Time
4/5Featured in Snapchat interviews, this grid traversal challenge tests advanced graph search techniques by combining pathfinding with spreading hazards. You must determine escape feasibility and optimal timing strategies while dodging rapidly advancing obstacles across a matrix. Solving this problem requires sophisticated breadth-first search and optimization logic. Unlock the full problem description and comprehensive solution by subscribing today.
Coding & Leetcode-style QuestionsSnapchatShortest Path to Collect All Coins
4/5In this engaging WeRide interview problem, you are tasked with finding the most efficient route on a grid to gather a set of scattered items starting from a specific location. Because movement is unrestricted by obstacles, the challenge bridges spatial distance calculations with optimization strategies similar to the Traveling Salesperson problem. It tests your advanced algorithmic thinking and search space reduction techniques. Unlocking the complete problem details and the optimal model solution requires a paid subscription.
Coding & Leetcode-style QuestionsWeRideWord Search
3/5This Glean interview question tests graph traversal and backtracking strategies on a two-dimensional character grid. Applicants must determine whether a specific text sequence can be formed by following adjacent horizontal and vertical steps without reusing the same matrix cell. This classic problem evaluates your mastery of depth-first search, state tracking, and recursive pathfinding optimization. Review the comprehensive explanation and complete solution code by acquiring a subscription.
Coding & Leetcode-style QuestionsGleanMatrix Zig-Zag Traversal
3/5This Cisco interview question focuses on matrix manipulation and directional traversal patterns. Candidates are challenged to extract and print a two-dimensional grid of elements following a diagonal zig-zag path. This exercise evaluates your index management, boundary condition handling, and ability to translate complex geometric patterns into clean iteration loops. Access the full problem breakdown and verified solution code by securing a subscription.
Coding & Leetcode-style QuestionsCiscoCount Shortest Paths in a Binary Grid
4/5This Meta interview problem challenges you to navigate a matrix containing open paths and barriers to find all minimal distance routes between two corners. It tests your mastery of graph traversal algorithms, dynamic programming, and combinatorial counting techniques under modular arithmetic constraints. You must carefully handle unreachable destinations and overlapping potential routes. To explore the full problem statement and study the optimal algorithmic solution, a paid subscription is required.
Coding & Leetcode-style QuestionsMetaFrontend Grid Game: Robot Eats Candies
3/5In this engaging frontend grid challenge reported from Snowflake, you must build a game class that coordinates a robot navigating a two-dimensional matrix to collect scattered items. The puzzle tests your ability to implement algorithmic pathfinding strategies, manage directional grid movements efficiently, and compute total travel steps under specific spatial rules. To view the complete problem statement, optimal algorithmic approaches, and the verified model solution, a paid subscription is required.
Coding & Leetcode-style QuestionsSnowflakeRotate Image In Place
3/5This classic matrix manipulation challenge, frequently featured in Uber technical screens, asks you to rotate a square digital image by a fixed ninety-degree angle. The core test centers on your ability to perform spatial transformations in place without allocating extra memory matrices, requiring careful handling of layer boundaries and indexing logic to avoid off-by-one errors. Reviewing the complete problem description, step-by-step spatial diagrams, and the optimal coding solution requires an active subscription.
Coding & Leetcode-style QuestionsUberShortest Path in a Grid with Obstacle Removal
4/5In this advanced graph traversal challenge reported from Apple, you must find the optimal route between two points across a grid cluttered with barriers. The puzzle evaluates your proficiency with modified breadth-first search algorithms and tests your ability to adapt shortest-path logic when given the constrained capability to remove or bypass specific obstacles. Discover the full problem constraints, complexity analysis, and verified model solution by unlocking a paid subscription.
Coding & Leetcode-style QuestionsAppleMinesweeper Reveal
3/5Practice this Pinduoduo coding interview challenge where you must simulate state transitions on a two-dimensional grid based on user interaction coordinates. The task evaluates your graph traversal skills, recursion or queue management, and ability to handle cascading reveals when interacting with blank areas or numbered safety clues. You must carefully manage different cell states and boundary conditions to ensure accurate board updates. Unlock the complete problem statement and an optimal model solution by acquiring a subscription.
Coding & Leetcode-style QuestionsPinduoduo01 Matrix
3/5This Snowflake reported interview question gives you a grid filled with binary values and requires you to compute the shortest path distance from every single location to the nearest zero cell. You will need to implement a multi-source breadth-first search algorithm to propagate distances outward efficiently across the matrix in optimal time. This problem effectively tests your graph traversal skills and spatial reasoning on grids. Access to the complete problem breakdown and expert model solution requires an active subscription.
Coding & Leetcode-style QuestionsSnowflakeMaximum Path Sum in a Grid
3/5Reported as a common Meta interview challenge, this matrix navigation task requires finding an optimal trajectory from the upper-left corner of a numeric grid to the bottom-right destination. Because movement is restricted to specific directions and cells may contain negative integers, candidates must carefully compute cumulative weights to maximize the final tally. This exercise evaluates proficiency in dynamic programming and grid-based traversal strategies. Unlock the comprehensive problem statement, thorough algorithmic analysis, and clean production-ready code with our subscription.
Coding & Leetcode-style QuestionsMetaMinimum-Cost Path on a Grid with Fuel and Recharge Cells
4/5Reported from ByteDance interviews, this advanced pathfinding challenge introduces resource management constraints to a standard grid traversal problem. Navigating from the start to the target incurs varying traversal costs while depleting a limited resource pool, which can only be replenished at designated recharge checkpoints and impassable obstacles must be avoided. The goal is to compute the most economical route under strict capacity limits. Review the complete problem statement, state-space modeling strategies, and optimal solution by upgrading to a paid subscription.
Coding & Leetcode-style QuestionsByteDanceUniversal Direction Sequence for an Unknown-Position Robot in a Maze
4/5This intriguing Waymo interview challenge places a mobile agent inside an obstructed two-dimensional grid with an unknown starting location and requires you to devise a deterministic sequence of directional commands that guarantees navigation to the destination. Because the initial position is completely hidden, your logic must systematically reduce uncertainty and account for boundary collisions until every potential starting cell successfully converges on the target. Unlock the full problem details and comprehensive model solution by purchasing a subscription.
Coding & Leetcode-style QuestionsWaymoRobot Vacuum 8-Direction Grid
3/5In this multi-phase traversal challenge frequently featured at Pinterest, you must track the movement of an automated cleaning device across a two-dimensional grid in eight possible directions. The task ramps up in complexity from navigating an unobstructed area to handling a blocked partition and finally coordinating the simultaneous paths of two cooperating units. This puzzle thoroughly tests your mastery of graph exploration algorithms and state-space search strategies. Unlock the full problem statement and complete code implementation with a paid subscription.
Coding & Leetcode-style QuestionsPinterestMax Area of Island
3/5Explore spatial navigation and matrix manipulation in this popular coding challenge often asked during Meta technical interviews. Given a two-dimensional map populated with land and water segments, you are asked to measure the extent of the most expansive contiguous landmass formed through orthogonal connections. This exercise tests fundamental matrix traversal patterns using recursive or iterative exploration techniques. To view the complete problem statement along with the optimal software solution, a subscription is required.
Coding & Leetcode-style QuestionsMetaFind Maximum Distance
4/5Navigate a hazardous grid environment while maintaining maximum clearance from obstacles in this challenging pathfinding problem reported during Wells Fargo technical screenings. The objective is to travel from a designated origin to a destination while ensuring that the closest distance to any blocking hazard along the chosen route is maximized. This problem combines shortest-path algorithms with spatial distance transforms and binary search strategies. To unlock the complete problem details and optimal solution, a subscription is required.
Coding & Leetcode-style QuestionsWells FargoLaser Grid Robot Max Safe Run
2/5Encountered in a Capital One interview, this grid navigation puzzle asks you to compute the maximum distance a robot can travel in a straight path before encountering a hazard created by intersecting laser beams. You need to carefully account for protected starting zones and grid boundaries while analyzing board coordinates. This scenario assesses your ability to handle matrix boundaries, spatial reasoning, and condition checking efficiently. Unlock the full problem details and expert model solution with a paid subscription.
Coding & Leetcode-style QuestionsCapital OneMinesweeper 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 TradingIncreasing Paths in a Grid II (Large Counts)
4/5In this Hudson River Trading coding challenge, you must compute the sheer volume of strictly rising trajectories across a matrix, where totals can scale into the tens of billions. This task tests your mastery of dynamic programming combined with large integer arithmetic to handle massive combinatorial explosion. Access to the full problem breakdown and an optimal model solution requires a subscription.
Coding & Leetcode-style QuestionsHudson River TradingImplement the 2048 Game (Board Move/Merge and Game Over Detection)
3/5Mastering grid-based puzzle mechanics is essential for this popular Glean interview challenge, which asks you to simulate the core rules of a sliding tile game. Candidates must programmatically handle directional shifts, combine identical adjacent values according to specific merging logic, and determine when no valid moves remain to trigger a game over state. This exercise evaluates your ability to manage matrix transformations and edge cases efficiently. Accessing the complete problem description, architectural breakdown, and optimal model solution requires a subscription.
Coding & Leetcode-style QuestionsGleanClosest Bathroom / Desk on a Grid
3/5Calculating shortest paths across a multi-dimensional matrix is the objective of this Snowflake interview question. You are given a grid populated with distinct entities, and your goal is to compute the minimum traversal distance from every designated target cell to the nearest specific resource using standard four-directional steps. This problem tests your proficiency with breadth-first search traversals, multi-source distance propagation, and spatial grid manipulation. Unlock the complete problem statement, test cases, and optimal model solution with a subscription.
Coding & Leetcode-style QuestionsSnowflakeEarliest Coordinate Reach with Optional Moves
3/5This pathfinding puzzle, sourced from IBM coding assessments, investigates the earliest possible moment a destination coordinate can be reached given a sequence of movement directives and the option to halt. You must simulate temporal choices efficiently to determine whether a target location is attainable within a strict timeframe. The exercise tests your grasp of greedy optimization and conditional state transitions over time. Access to the full problem text and efficient model solution requires an active subscription.
Coding & Leetcode-style QuestionsIBMBoard Coloring and Query Processing
3/5This grid-based query processing problem, reported in interviews with PayPay, challenges you to manage cell color states on a board while dynamically searching for the nearest available white spaces in multiple cardinal directions. You will need to design an efficient data structure capable of handling frequent state modifications and rapid directional lookups without performance degradation. It thoroughly examines your algorithmic efficiency and spatial reasoning abilities. Unlock the complete problem details and optimal implementation with a subscription.
Coding & Leetcode-style QuestionsPayPayRotten Oranges / Grid Infection BFS
3/5This popular Lyft coding challenge evaluates your proficiency with graph traversal algorithms on two-dimensional matrices, specifically focusing on simultaneous multi-source propagation. You will be tasked with simulating a spreading condition across neighboring cells step by step to determine the total duration required to influence every reachable target, or identifying scenarios where complete coverage is impossible. Success depends on proper queue management and tracking visited states efficiently. Access to the complete problem breakdown and the verified model solution requires an active subscription.
Coding & Leetcode-style QuestionsLyftShortest Bridge Between Two Islands
3/5This Apple interview puzzle requires you to find the shortest path of transformed cells needed to bridge two distinct landmasses within a grid. The task tests your graph traversal capabilities, specifically combining breadth-first search with connected component identification and matrix manipulation. You will need to efficiently expand outward from one territory until reaching the other. Gain full access to the complete problem statement and verified solution by subscribing today.
Coding & Leetcode-style QuestionsAppleConnect Four: Can This Move Win
3/5This Snowflake interview question challenges you to simulate a standard grid game and determine if a freshly placed disc creates a winning line of four consecutive pieces horizontally, vertically, or diagonally. You will need to efficiently check surrounding matrix boundaries and directions while handling invalid placement attempts. The complete problem statement and fully optimized model solution require a subscription to access.
Coding & Leetcode-style QuestionsSnowflakeMinimum Selections To Clear Author Grid
4/5This challenging Goldman Sachs problem presents a grid representing a library shelf, where each cell contains an author ID. The task is to clear the entire grid by performing a special operation: selecting a cell removes all books by that specific author found in the selected cell's row or column. The core objective is to determine the minimum number of cell selections required to eliminate every book from the shelf. This question delves into advanced combinatorial optimization and potentially graph-based modeling, requiring careful strategic thinking to find an optimal solution. The full problem and model solution require a subscription.
Coding & Leetcode-style QuestionsGoldman SachsCount Square Subgrids For Each Query
2/5This Goldman Sachs interview question presents a combinatorial challenge involving grid geometry. For each given set of grid dimensions (rows and columns), your task is to determine the total number of square subgrids that can be formed within it, considering all possible side lengths. This problem requires a systematic approach to counting and an understanding of how the number of possible squares changes with increasing side length relative to the grid dimensions. It's a good test of your mathematical reasoning and ability to derive a general formula. The full problem and model solution require a subscription.
Coding & Leetcode-style QuestionsGoldman SachsAI Coding: Maze Solver (BFS to Keys/Doors to Bombs)
4/5This Meta interview question is a comprehensive, multi-stage challenge focused on AI-enabled maze solving. Starting with debugging existing code, you'll progressively enhance a pathfinding algorithm. The problem evolves from basic traversal to incorporating complex elements like keys and doors, and eventually dealing with obstacles such as bombs. This tests your ability to apply graph traversal algorithms like BFS or DFS, manage intricate game states, and incrementally build a robust solution while identifying and fixing issues. It's a deep dive into algorithmic problem-solving. The full problem and model solution require a subscription.
Coding & Leetcode-style QuestionsMetaMouse and Cheese: Grid Reward Maximization
3/5This Meta interview question presents a fascinating challenge involving pathfinding and reward maximization within a grid environment, offering two distinct variants. The first variant requires you to navigate a known grid from a starting point to an end point, moving only right or down, to collect the maximum possible total reward from cells. The second variant shifts to an unknown maze, where you must explore using a limited API to locate and collect cheese, typically employing search algorithms like DFS with backtracking. This problem effectively tests your dynamic programming skills or graph traversal strategies. The full problem description and a model solution are available with a subscription.
Coding & Leetcode-style QuestionsMetaExcel Cell Calculation
4/5Reported as a Ramp interview question, this problem asks you to design a simplified Excel-like spreadsheet system. You need to implement core functionalities such as setting a cell's direct value, retrieving its current value, and crucially, supporting a `sum` function that can aggregate values from individual cells or rectangular ranges. The challenge lies in correctly handling cell references within formulas and ensuring that cell values update appropriately when dependencies change. This tests object-oriented design, data structure choices, and dependency management. The full problem and model solution require a subscription.
Coding & Leetcode-style QuestionsRampImplement Max Pooling with Argmax Coordinates
3/5This Waymo interview question focuses on implementing a fundamental operation in machine learning: max pooling. Candidates are asked to process an input tensor or matrix, extracting the maximum value within defined windows. A crucial follow-up extends this by requiring not just the maximum values, but also the precise coordinates within each window where those maxima were found. This problem evaluates your understanding of array manipulation, algorithmic implementation, and careful handling of details like windowing, stride, and boundary conditions. The full problem description and a detailed model solution are available with a subscription.
Coding & Leetcode-style QuestionsWaymoGrid Shortest Path with K Obstacle Eliminations
3/5Navigate a constrained grid traversal challenge originating from ByteDance interviews that elevates classic pathfinding into a test of resource management. Starting at the corner of a matrix filled with passable terrain and barriers, you must find the shortest route to the destination while breaking through a limited number of obstacles. The puzzle examines your expertise in graph traversal algorithms like breadth-first search equipped with multi-dimensional state tracking. Discover the complete problem details and robust model implementation through a subscription.
Coding & Leetcode-style QuestionsByteDanceRobot Room Navigation Take-Home
3/5Simulate complex grid traversal logic governed by custom directional rules, obstacles, and environmental tags in this comprehensive Tesla engineering take-home assignment. This challenge evaluates your pathfinding capabilities, state management, and proficiency in parsing structured ASCII maps from standard input to produce precise navigational paths. Gain access to the full problem description, architectural best practices, and expert model solution through a paid subscription.
Coding & Leetcode-style QuestionsTeslaIncreasing Paths in a Grid
3/5Presented in Hudson River Trading interviews, this grid-based challenge requires you to compute the total count of valid movement sequences where numerical values strictly escalate across adjacent cells. The problem tests advanced traversal strategies, memoization, and combinatorial counting on a matrix. Explore the complete problem breakdown and optimized solution by purchasing a subscription.
Coding & Leetcode-style QuestionsHudson River TradingCount Connected Building Components in a City Grid
3/5Prepare for technical evaluations with this classic graph traversal problem frequently featured in Google interviews. You are tasked with analyzing a two-dimensional layout to identify and tally distinct clusters of adjacent elements based on directional connectivity rules. This challenge evaluates your proficiency in depth-first search, breadth-first search, or disjoint-set data structures for connected component analysis. Discover the complete problem description and an optimized model solution by upgrading to a paid subscription.
Coding & Leetcode-style QuestionsGoogleNumber 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 QuestionsXPengLighthouse Light Propagation
3/5Master spatial propagation mechanics in this engaging coding challenge frequently reported during Pinterest technical interviews. Candidates are tasked with tracking how directional illumination spreads across a two-dimensional layout while obstacles and boundaries obstruct the path. This problem evaluates your ability to implement efficient grid traversal techniques and handle line-of-sight conditions cleanly. To view the complete prompt description and examine a fully optimized reference implementation, an active subscription is required.
Coding & Leetcode-style QuestionsPinterestValidate NxN Grid as Latin Square
3/5In this Walmart Labs interview question, engineers must evaluate a two-dimensional integer matrix to determine whether it satisfies specific permutation criteria across every row and column. The assessment examines matrix traversal techniques, boundary validation, and frequency counting to ensure exact number distributions without duplicates. Unlock the complete breakdown, edge cases, and expert solution by securing a platform subscription.
Coding & Leetcode-style QuestionsWalmart LabsNumber of Islands
3/5Familiarize yourself with this popular Apple interview exercise where you compute distinct landmasses on a two-dimensional grid of binary indicators. The challenge centers on exploring connected components using graph traversal algorithms like breadth-first or depth-first search. It is a fundamental assessment of spatial reasoning and matrix manipulation proficiency. To view the complete prompt details and professional source code solution, please subscribe.
Coding & Leetcode-style QuestionsAppleShortest Path in a Grid with Obstacles Elimination
4/5This Nuro interview challenge explores advanced graph traversal techniques, asking engineers to find the shortest path across a grid populated by impassable barriers. The catch is that the traversal agent possesses a limited ability to clear obstacles along the way, adding a layer of state management to standard pathfinding algorithms like breadth-first search. Candidates must efficiently track remaining clearances alongside spatial coordinates to avoid redundant states and locate the target destination. The complete problem statement and an optimal model solution are available exclusively with a paid subscription.
Coding & Leetcode-style QuestionsNuroMinimum Manhattan Distance Between 'X' and 'Y' in Matrix
2/5This reported Glean interview question challenges you to find the shortest spatial separation between two distinct target markers inside a grid populated by various symbols. Candidates must efficiently compute the grid-based distance without resorting to overly sluggish exhaustive searches. It evaluates your grasp of coordinate traversal strategies and graph search fundamentals. Unlock the full problem breakdown and complete tested code solution with a subscription.
Coding & Leetcode-style QuestionsGleanMinesweeper Game Logic
3/5This Lyft frontend loop coding question requires you to implement the core algorithmic engine of a classic Minesweeper game without worrying about graphical user interfaces. You will need to handle map expansions, cascading safe cell reveals, and win or loss condition checks using traversal algorithms like breadth-first or depth-first search. Access the full problem details and expert-crafted solution by subscribing today.
Coding & Leetcode-style QuestionsLyftConnect-4 Grid: Drop, Remove Groups, Apply Gravity
3/5Presented in Snowflake interviews, this problem tasks you with simulating a dynamic board game where tokens are dropped into columns, matching clusters are cleared, and remaining pieces fall according to physical gravity rules. You will need to implement discrete functions handling placement constraints, neighborhood connectivity checks, and downward shifting matrices. This puzzle tests your multi-step simulation design and 2D grid manipulation proficiency. Unlock the full challenge requirements and robust implementation details with a subscription.
Coding & Leetcode-style QuestionsSnowflakeValidate Nonogram Solution
3/5In this Walmart Labs interview question, you are given a grid of shaded and unshaded cells alongside numerical constraints for every row and column, requiring you to verify if the matrix accurately solves a picture-logic puzzle. You must systematically parse linear segments to confirm that contiguous blocks of filled cells match the exact run-length specifications provided in the input. This exercise tests your array validation logic and attention to detail when processing matrix coordinates. Access the full problem statement and clean algorithmic solution through a paid subscription.
Coding & Leetcode-style QuestionsWalmart LabsChess Piece Shortest Path on a Fixed Board
3/5This Waymo interview question challenges candidates to compute the minimum number of moves required for a chess piece to travel between two specified locations on a board. It tests graph traversal techniques, specifically breadth-first search, alongside adaptability when facing constraints like obstacles or expanded board dimensions. Designing custom test cases and defining movement sets are essential parts of the exercise. Access to the full problem description and complete model solution requires a subscription.
Coding & Leetcode-style QuestionsWaymoNumber of Islands II (Dynamic Union-Find)
4/5Reported as an engaging interview challenge at Uber, this dynamic connectivity problem tracks the number of islands on a grid as water cells progressively transform into land. The task evaluates your ability to maintain connected components efficiently after each incremental update rather than recalculating from scratch. It heavily tests graph algorithms and advanced disjoint-set data structures for optimal performance. Explore the full problem breakdown and expert-crafted model solution with a paid subscription.
Coding & Leetcode-style QuestionsUberMaximum Number of Points from Grid Queries
4/5Analyze a sophisticated graph traversal challenge frequently featured in assessment rounds at Uber, revolving around matrix pathfinding and threshold queries. Given a grid of numerical values and a list of target numbers, you must determine how many cells remain accessible from the origin under strict boundary limits for each query. This exercise assesses advanced graph traversal techniques, sorting optimizations, and efficient offline query processing. To view the complete problem details and optimal algorithmic solution, a subscription is required.
Coding & Leetcode-style QuestionsUberShortest Bridge Between Two Islands
3/5Encountered frequently in technical screenings at Uber, this graph traversal problem requires you to find the absolute shortest path of transformed cells needed to physically connect two distinct isolated regions within a matrix. It tests your proficiency with breadth-first search algorithms, multi-source queue management, and grid-based state exploration. You will explore how to systematically expand outward from one territory until reaching the other while minimizing cost. Unlock the complete problem statement, underlying principles, and verified code solution with an active subscription.
Coding & Leetcode-style QuestionsUberMaking 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
grid interview FAQ
- How many grid interview questions are there?
- 113 reported questions, mostly Coding & Leetcode-style Questions.
- Which companies ask grid questions?
- Uber (11), Meta (10), Waymo (6), ByteDance (6), Snowflake (6), Capital One (4), Glean (4), Apple (4).
- How hard are grid questions?
- They average 3.1 out of 5: 10 at 2/5, 77 at 3/5, 26 at 4/5.