Results 1 to 1 of 1
- 03-12-2011, 05:57 PM #1
Member
- Join Date
- Mar 2011
- Posts
- 24
- Rep Power
- 0
How to sample a node from a binary tree efficiently?
Hello,
I have a binary tree which is not balanced. The height of the tree is unknown because the tree is changing during the algorithm. I want to pick a node randomly from the tree, or from any subtree of this tree. How can I do this efficiently?
Thank you in advance..
Similar Threads
-
How to capture a tree node edit ?
By ni4ni in forum AWT / SwingReplies: 1Last Post: 03-11-2011, 05:21 AM -
Data Structures(Binary Search Tree to AVL Tree)ASAP pls
By jfAdik in forum Forum LobbyReplies: 0Last Post: 04-04-2010, 07:40 AM -
Binary Tree
By MuslimCoder in forum New To JavaReplies: 8Last Post: 11-19-2009, 05:57 PM -
Retrieve Node of tree in next page using jsp, struts tiles
By visiau in forum Advanced JavaReplies: 1Last Post: 08-24-2009, 11:41 AM -
Drag and drop of multiple elements of a node in a Tree
By Avdhut in forum AWT / SwingReplies: 2Last Post: 06-03-2008, 09:07 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks