Returns length of shortest chain to reach ' target ' from ' start ' using minimum number of adjacent moves . D is dictionary
def shortestChainLen ( start , target , D ) : NEW_LINE INDENT if start == target : NEW_LINE return 0 NEW_LINE DEDENT