Search:

Type: Posts; User: valam

Search: Search took 0.10 seconds.

  1. Replies
    5
    Views
    1,290

    Re: Remove a number from a stack

    Hi Greg!
    I was able to do it as you said, I built my stack without the usage of collections and worked great! Thanks for the tip, drafting it in paper worked for me.

    I am now having an issue...
  2. Replies
    5
    Views
    1,290

    Re: Remove a number from a stack

    Hi Greg!

    Ok! I understand what you are saying and trust you that it is an infinite loop (no wonder why the CPU usage is 100% haha), I thought that while (pila.peek() != n || pila.isEmpty()) this...
  3. Replies
    5
    Views
    1,290

    Remove a number from a stack

    Hello! I am pretty new to java, so pleasee be patient with me :o !!

    Ok, so I am trying to remove a value from a stack that is not in the top of the stack using only stacks, so I basically created...
Results 1 to 3 of 3