BST tree using integers
<p>I have to implement a BST tree in java and I am using this code:</p>

<pre><code>    ArrayDeque a = new ArrayDeque();    

    a.add(root); // to add root to queue
    a.add(new Node(null)); // to add newline node
</code></pre>

<p>but I am getting this error: Constructor Node in class Node cannot be applied to given types (because of the null) as i am using integers not strings. Can someone help me please.</p>

<p>Thanks in advance</p>
