Write a method called doublePositives that doubles all data values greater than 0 in a binary tree

Question:

Write a method called doublePositives that doubles all data values greater than 0 in a binary tree of integers.

Reference Tree #2 2 Reference Tree #1 1 7. 4 4 Reference Tree #3 2 3 8. 9. 3. 1.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: