Search:

Type: Posts; User: siid14

Search: Search took 0.10 seconds.

  1. Thread: Returning node

    by siid14
    Replies
    3
    Views
    869

    Re: Returning node

    Yes right, I just added the following method before your comment and it works :



    public static void traverseTree(TreeNode root) {
    if (root != null) {
    ...
  2. Thread: Returning node

    by siid14
    Replies
    3
    Views
    869

    Returning node

    Working on a program "to convert a sorted array to binary search tree".
    How to get the value return from the node? It does not print what I want.


    Here is my code :



    public class...
Results 1 to 2 of 2