...

/

Solution: Use Alternative Tree Models

Solution: Use Alternative Tree Models

Let's get introduced to the alternative tree models for the Naive Trees antipattern.

The alternative tree models for an Adjacency List are discussed below.

Alternate tree models

There are several alternatives to the Adjacency List model of storing hierarchical data. These are:

  • Path Enumeration
  • Nested Sets
  • Closure Table

Path Enumeration

Path Enumeration is used to manage ...