Interview questions
Find a company or topic. Read the sources, then practice.
Loading the question library…
Find a company or topic. Read the sources, then practice.
Loading the question library…
Showing 1–1
Given a functional directed graph (each node has at most one outgoing edge), return the length of the longest directed cycle or -1 if no…
Companies: Anduril
Breadth-First Search · Depth-First Search · Graph Theory · Kosaraju's Algorithm
Last reported Oct 2026