Search:

Type: Posts; User: chronoz13

Search: Search took 0.08 seconds.

  1. Thread: stacks

    by chronoz13
    Replies
    7
    Views
    1,755

    Re: stacks

    let me correct my statement, sorry, i wasnt reading it carefully..

    For you to print it in "INPUT" sequence which is for number 3.) you have to see the bottom most, then you need another stack
    For...
  2. Thread: stacks

    by chronoz13
    Replies
    7
    Views
    1,755

    Re: stacks

    for number 3.) it would be easy for you, yes, just pop everything you pushed on the stack so you can print it in sequence
    for number 2.) i never tried it but i think you need another stack, or you...
  3. Thread: stacks

    by chronoz13
    Replies
    7
    Views
    1,755

    Re: stacks

    you are actually pushing it inside the stack, if you know the data structure of stacks(last in, first out), there are 2 major ways to handle data inside of it, the "push" and "pop", you can read its...
Results 1 to 3 of 3