Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Logic for comparing two trees of unequal hierarchies.

 
Etao Laishram
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I am trying to write a recursive function to compare two trees of different hierarchies, like comparing two different XML files. Any idea on this? HashMap can be used for representing the tree.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic