DFS With Slashes - Coding Interview Stream Highlights
Errichto Algorithms · 23:41 · Watch on YouTube
The stream solves what appears to be LeetCode's "Regions Cut By Slashes." The approach splits every grid cell into four triangle vertices (top, right, bottom, left), connects them according to the '/' and '\\' charact...