Implement flood fill using BFS and DFS

Quick Overview

This question evaluates proficiency in graph traversal and matrix manipulation, specifically the implementation of BFS and DFS variants for flood fill along with handling recursion, iterative stacks, and in-place updates.

Implement flood fill using BFS and DFS

Company: Apple

Role: Software Engineer

Category: Coding & Algorithms

Difficulty: easy

Interview Round: Technical Screen

Overview: This question evaluates proficiency in graph traversal and matrix manipulation, specifically the implementation of BFS and DFS variants for flood fill along with handling recursion, iterative stacks, and in-place updates.

Apple logo
Apple
Jan 22, 2026
easySoftware EngineerTechnical ScreenCoding & Algorithms
20
0
Loading...