The Javascript Developer’s Guide to Graphs and Detecting Cycles in Them
Too Long; Didn't Read
On my first on-site interview for a full stack software engineering position, I was asked to write a function that would detect if there was a cycle in a directed graph.