Cycles in Directed Graphs (In Unexpected Places)

CppCodingZen
5 min readJan 15, 2021

--

We are taking a break from data science, probability and statistics; and revisiting programming exercises. The problem we are going to tackle in this post comes from graph theory and efficient graph traversal. Graph theory is favorite of many interviewers, because formulating a problem in graph theory terms involves a lot of insight, and really tests a candidate’s skills. Most algorithms fit a few tens of

--

--

CppCodingZen

Solutions to programming interview questions at some of the top companies in the world: cppcodingzen.com