I think the better idea is that we associate a boolean variable with
each node telling abt lock.
lock instance will be true if
    its right child has lock true
    its left child has lock true.
* lock true means the node can be locked...
even if the idea does not works for you please tell what you have
done...
and also plz atleast disscuss it


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to algogeeks@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/algogeeks
-~----------~----~----~----~------~----~------~--~---

Reply via email to