Dassault Systèmes Interview Question

Leetcode Interview regarding graph algorithm