🏆 Meta Hacker Cup 2022 — Round 3: Fence Painting Chapter 1

Difficulty: Hard
Category: Graph Theory & BFS
Original Problem