LeetCode Question · 2017 Q4

Airbnb | Cover all vertices with the least number of vertices

SWE
19 upvotes 7,235 views 12 replies

Question Details

Given a directed graph G (can contain sub graphs and cycles), find the minimum number of vertices from which all nodes are reachable. For example: Nod…

Full Details

🔒

Unlock full leaked content

Full insider details, leaked discussions, and candidate experiences.

Get Premium →

Topics

Graphs