Binary Heap Traversal Proof by Induction

Posted by Ahmet Alp Balkan on Stack Overflow See other posts from Stack Overflow or by Ahmet Alp Balkan
Published on 2010-04-12T18:14:17Z Indexed on 2010/04/12 19:52 UTC
Read the original article Hit count: 413

How to prove that:

Let's say we have two binary heap trees H1 and H2 with size N. If their inorder traversals are the same, prove that H1=H2 by induction on N.

© Stack Overflow or respective owner

Related posts about algorithm

Related posts about binary-heap