</>OfferRetriever
DashboardDiscuss
NEW
Halloween SalePremium questions, over 30% offUnlock all premium questions for over 30% off
$10.42$7.08/mo

--

:

--

:

--

:

--

Get this deal
Back to Yelp Questions

Dependency Chain End

Medium

You are given a list of task dependency pairs [a, b] meaning task a is blocked by task b (i.e., a must wait for b). Each task blocks at most one other task. Given a starting task, follow the chain until you reach a task that does not block anything else. Return that final task.


...

Asked at:Yelp

More Yelp interview questions

All Yelp interview questions
OfferRetriever

Master technical interviews with real questions from top companies. Build your confidence and career.

PRODUCT
PricingDashboardDiscussOfferRetriever vs LeetCodeCompare
LEGAL

© 2026 Purple Business Holdings LLC. All rights reserved. See Terms of Service.