ConnectWise Interview Question

In coding round questions were about trees and graphs