What is a Strategy? Strategy is a plan of action designed to achieve a long-term or overall aim.
Strategy Design Pattern
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.