Given a highly interconnected network of nodes, write an algorithm to find the most efficient path while avoiding specific blocked sub-networks.