Count Connected Components Leetcode Two Robots One Red