title: Number of levels in Binary Tree given the list of datas
body: <p>Lets consider that, the following is the resultant of the Level Order Traversal of the Binary Tree. </p>
  
  <p>Ex: 1,2,3,4,5,6,7,8</p>
  
  <p>But, I got a question like, with the given list of data, how to compute the total number of levels in the binary tree.</p>
  
  <p>I thought some thing like, <strong>Sqrt(8)</strong> and doing the <strong>Math.Round</strong> to it, will yield the result.</p>
  
  <p>But I doubt that, I am wrong.</p>
  
  <p>May I know, what is the perfect to do that.</p>
  
  <p>Thanks in advance...</p>