Coding
How would you code a function to determine the longest path in a Directed Acyclic Graph (DAG)?
Data ScientistMachine Learning Engineer
Palo Alto Networks
Flexport
Roku
Nuro
Sprinklr
McAfee
Try Our AI Interviewer
Prepare for success with realistic, role-specific interview simulations.
Try AI Interview NowInterview question asked to Machine Learning Engineers and Data Scientists interviewing at Stitch Fix, Coinbase, Bloomberg and others: How would you code a function to determine the longest path in a Directed Acyclic Graph (DAG)?.