HardScenarioData structures and algorithms
How would you detect whether a directed graph has a cycle?
This answer is part of Pro
14 of 198 Python Developer answers are free. A Pro pass opens the rest, including hands-on task steps.
PreviousHow would you find the median of a stream of numbers?Next What is a REST API and which HTTP methods does it commonly use?