959. Regions Cut By Slashes - Explanation

Problem Link