preorder = root left right
DFS use stack = inorder= left root right
postorder = left right root
BFS use queue = print each level
Graph
Used to represent various real-world scenarios such as social networks, transportation systems, and computer netw...