Topological Sort - Find Eventual Safe States
The following code attempts to find eventual safe states using the reversed graph and Kahn's algorithm. Identify the subtle bug:
```python
for u in range(n):
for v in graph[u]:
reverse_graph[u].append(v)
in_degree[u] = len(graph[u])
```
