Given a binary tree (or graph of linked nodes), find the shortest path between two given nodes. In one variant: given any two nodes in a binary tree, return the shortest path (or its length) connecting them. In a concrete applied variant: build a bot to navigate between wiki pages…