Could someone working with tree structure?
问题 I would love to someone who understands concept of nodes and could make some easy explanation on one program I am trying to write, basicaly a "file structure" which would be like tree. I understand that nodes work the way that they are linked to each other (ergo: Node has prev/next attribute which links to other nodes) This is the class that would describe each node. class Node: def __init__(self, nid: int, name: str, owner: str, is_dir: bool, size: int, parent: Optional["Node"], children: