Search:

Type: Posts; User: ayri

Search: Search took 0.23 seconds.

  1. Thread: Tree problem

    by ayri
    Replies
    2
    Views
    436

    Re: Tree problem

    I am getting stack overflow error in move. Also some conditions is wrong.Can someone help me with algorithm here?
  2. Thread: Tree problem

    by ayri
    Replies
    2
    Views
    436

    Re: Tree problem

    I want to print it

    Elie
    -------2
    -----------4
    -------3
    -----------1
    -----------------2
    krikor
    --------elie
  3. Thread: Tree problem

    by ayri
    Replies
    2
    Views
    436

    Tree problem

    package project2;

    import java.util.ArrayList;
    import java.util.LinkedList;
    import java.util.List;

    public class Exercise {
    String krikor = "lolig";

    public Exercise() {
  4. Replies
    1
    Views
    1,586

    Re: Create a tree from list of strings

    case works like this

    1/2/3
    2/3/4
    1/6/7

    tree willlook

    1
    ---2
  5. Replies
    1
    Views
    1,586

    Create a tree from list of strings

    paths = [
    "nodeA1",
    "nodeA1/nodeB1/nodeC1",
    "nodeA1/nodeB1/nodeC1/nodeD1/nodeE1",
    "nodeA1/nodeB1/nodeC2",
    "nodeA1/nodeB2/nodeC2",
    "nodeA3/nodeB2/nodeC3"
    ]
  6. Replies
    0
    Views
    1,679

    Creat a tree from list of strings

    paths = [
    "nodeA1",
    "nodeA1/nodeB1/nodeC1",
    "nodeA1/nodeB1/nodeC1/nodeD1/nodeE1",
    "nodeA1/nodeB1/nodeC2",
    "nodeA1/nodeB2/nodeC2",
    "nodeA3/nodeB2/nodeC3"
    ]
Results 1 to 6 of 6