Oracle Interview Question

Leetcode mediums, graph + trees