DIY: Shortest Bridge

Solve the interview question "Shortest Bridge" in this lesson.

Problem statement

You are given an n x n binary matrix grid containing 0 ...