Programming Questions? Ask a Programmer for Answers ASAP
As no further input gathered against my last clarifying question, I now provide a general answer based on the given description and common situations.
The short answer is yes. A longer answer is that conditions apply because using BST to navigate paths in a Map is not efficient for a complicated mop, in which graph is a more suitable data structure. You can see below the same kind of discussion for your reference.