Can you visit all rooms and score parentheses? | Molocoads Interview Question