Category Archives: Data structures and Algorithms

Binary Tree Traversals

Usually, the process of visiting all nodes of a tree is called tree traversal. Each node is processed only once but it may be visited more than once. Linear data structures like LinkedList, Stack or Queue, etc. The elements are visited in sequential order but in Tree structures, there are many different ways. Tree traversal… Read More »