Coding Challenge · ADVANCED
A museum has a series of rooms connected by one-way corridors, represented as a directed graph with n rooms labeled 0 to n-1. Each corridor is a one-way path from one room to another. The security robot starts in room 0 and must visit every room exactly once, ending in room n-1. Your task is to count the total number o…