What does the `max(...)` do in this DFS code?

Eklenme Tarih 1 hour ago
Active 19
Görüntülenme 89
S

What does the `max(...)` do in this DFS code?