https://leetcode.com/problems/regions-cut-by-slashes/solution/
Can someone please fix the bugs the official solution given in python for this problem!!