We are committed to provide service 24 X 7

Deals, Shopping, Training, Tools

Category: Open Close Principle

Binary Tree Traversal with Strategy design pattern and open-closed principle

btree

Many time we need to perform certain tasks on Binary trees. These tasks can be, Counting nodes that satisfy some criteria. Displaying all nodes in particular pattern like, printing expression from expression tree. Creating mirror image of tree. etc. [showads ad=inside_post] To perform these tasks we follow a pattern i.e. traverse the tree and perform …

Binary Tree Traversal with Strategy design pattern and open-closed principleRead More

Cart

Your Cart is Empty

Back To Shop