DIY: Walls and Gates

Solve the interview question "Walls and Gates" in this lesson.

We'll cover the following...

Problem

You are given a m×nm \times n grid represented by a 2D array named ...

Access this course and 1400+ top-rated courses and projects.