Save 25%Black Friday: 25% off all plans — use code BLACKFRIDAY2026 at checkout. Ends Friday, Dec 4.Claim the deal

Given a list of directed edges edges representing one-way connections between nodes in a graph, and a starting node start. Each edge is given as a two-element array [u, v] where u is the source node and v is the target node. Your task is to find the destination node (a node without outgoing edges) by traveling from the starting node along these directed edges until you reach the destination.

Test Cases
Input
Output
Expected