In a directory tree, find every directory that has the same name as one of its ancestors — first any ancestor, then only the closest K.
In a directory tree, find every directory that has the same name as one of its ancestors — first any ancestor, then only the closest K.
The discussion opens with the full question.