Given a graph of services where edges represent dependencies (one service calling another), and given the first service that crashes (starts throwing errors), find all services that will eventually crash. When a service crashes, all upstream services that depend on it also crash. The input is provided as an adjacency…