Java insert random integers into binary search tree
<p>Im trying to insert random integers into a binary search tree.</p>

<p>this is what ive tried</p>

<pre><code>for(i = 0; i &lt;= insertAmount; i++)
        {
            myTree.insert((int)Math.random()*1000000+1);
        }
</code></pre>

<p>I think im just inserting the same number. doesnt the + 1 change the value?</p>
