Sollicitatievraag bij Samsung Electronics

Graph question based on shortest path algorithm.