Method which calls the utitlity method to remove the short path nodes .
def removeShortPathNodes ( root , k ) : NEW_LINE INDENT pathLen = 0 NEW_LINE return removeShortPathNodesUtil ( root , 1 , k ) NEW_LINE DEDENT