Search:

Type: Posts; User: ayri

Search: Search took 0.08 seconds.

  1. Thread: Tree problem

    by ayri
    Replies
    2
    Views
    1,254

    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
    1,254

    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
    1,254

    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
    2,912

    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
    2,912

    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
    2,550

    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