title: How do I know if my huffman tree is correct?
body: <p>The question asked to:</p>
  <blockquote>
  <p>Create a Huffman tree and codes for the following numbers: 24, 55, 13,
  67, 88, 36, 17, 61, 24, 76</p>
  </blockquote>
  <p>So I created this tree:</p>
  <p><a href="https://i.stack.imgur.com/Mlm2L.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Mlm2L.png" alt="depth 5 tree" /></a></p>
  <p>But since there are multiple trees possible, how will I know whether my tree is right or not as there are multiple elements with same frequency?</p>