Hi, I wonder if anyone could explain me what does this line of code do " list(map(fringe.put, tree_struct))"? Thanks
def createTree(leafValues): fringe = queue.Queue() list(map(fringe.put, tree_struct)) visited.add(root.str())