Leetcode 1997 First Day Where You Have Been in All the Rooms