Re: How to count nodes in a binary tree stored in MySql in it's left and right and dynamically respond on new addition of node
Posted by: Omkar Khalipe
Date: July 20, 2016 04:59AM

The schema has 2 children nodes poinitng to their ID , a parent node pointing its ID, and it's own id.
It is very easy to traverse back and forth but how to count number of nodes on it's left and it's right, and notify all parent, grandparent nodes on addition of a child node

Options: ReplyQuote




Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.