← Deutsche Bank questions
CodingReported in a candidate post, Jul 2025

Detect a cycle in a directed graph

Filed under Deutsche Bank · Also reported at JM Financial

Given a directed graph with n vertices (0..n-1) and a list of edges, determine whether it contains a cycle.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Deutsche Bank questions

Collected from public candidate posts and coding forums. Updated Nov 2026.