Dataford
Interview QuestionsInterview GuidesExperiencesMock InterviewsPricing
Get started

Detect Cycles in Payment Graph

Medium
CodingdfsbfsGraphsAsked 1 times

Problem

Given a directed graph representing payment dependencies between accounts, detect if there is a cycle (potential circular fraud).

Practicing as: Mobile Engineer interview at PayPal

Hi, I'll play your PayPal interviewer for the Mobile Engineer role. Candidates describe these interviews as mixed and moderately difficult, so expect me to be professional and fair. Take your time with the question above and answer like we're in the room.

You are practicing as a guest. Sign up free to get your answer graded with AI feedback. Your draft stays right here.

Sign up freeI have an account
Sign up to unlock solutions
PayPal Mobile Engineer Interview Questions
Next questions
VisaDetect Cycles in Routing GraphHardAltruistCycle Detection in Directed GraphMediumCircleCycle Detection in RoutingMedium