Specialisation of INORDER Traversal

Specialization of an inorder traversal  :                                                                                                    

  • print operand or operator when visiting node
  • print “(” before traversing left subtree
  • print “)” after traversing right subtree


No comments:

Post a Comment