docs: public int getHeight() {
      int levels = 0;
      N node = getRoot();
  
      while(!node.isLeaf()) {
        if(node.getNumEntries() > 0) {
          node = getNode(node.getEntry(0));
          levels++;
        }
      }
      return levels;
    }