I am getting stack overflow error in move. Also some conditions is wrong.Can someone help me with algorithm here?
Type: Posts; User: ayri
I am getting stack overflow error in move. Also some conditions is wrong.Can someone help me with algorithm here?
I want to print it
Elie
-------2
-----------4
-------3
-----------1
-----------------2
krikor
--------elie
package project2;
import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;
public class Exercise {
String krikor = "lolig";
public Exercise() {