Leetcode 1129. Shortest Path with Alternating Colors | Hello Interview