There are many types of data structures defined by the pioneer programmers in the past the direct interface to them datastructures have been an imperative but today datastructure have been taken for granted. From the most basic stacks and queues to the more advanced link list and binary trees. each plays an important role in the life of a computer. ...
Joe Celko Nested Sets is meant to manage tree database structure using Jeo Celko's nested sets approach.You can add node with 7 queries, delete a node with subnodes with 4 queries and move node with 11 queries.The number of queries per action does not depend on the number of sub-nodes, so it is a scalable solution.