Determine next hop using longest prefix matching
Filed under Arista Networks
The question
Given a router routing table and a packet's destination IP address, determine its next hop using longest prefix matching.
No write-up yet. Related questions below have one.
Related Arista Networks questions
Collected from public candidate posts and coding forums. Updated Nov 2026.