How to insert 10 different numbers to a BST and print out randomly?
Why not just put them into an array, get a random number 0-9, and print the number at that location in the array?
Your asking a whole lot in a small question. BST's are widely documented all over the internet and implementations are everywhere.

It does more sounds like a homework question than an actual lack of knowledge, which is why you either have to provide more insight on your idea or read Wikipedia.
Topic archived. No new replies allowed.