Coding Challenge · INTERMEDIATE
A city is planning a bike sharing system, and each bike station is connected to others by one-way bike lanes. The city wants to know how many distinct stations are part of at least one closed loop, where a closed loop is a path that starts and ends at the same station and uses each lane at most once. Given the number o…