remove repeated vaules _stack&array

Posted by Fatimah on Stack Overflow See other posts from Stack Overflow or by Fatimah
Published on 2010-05-20T19:33:47Z Indexed on 2010/05/20 19:40 UTC
Read the original article Hit count: 114

Filed under:
|
|
|
|

I want to write a program to implement an array-based stack, which accept integer numbers entered by the user.the program will then identify any occurrences of a given value from user and remove the repeated values from the stack,(using Java programming language).

I just need your help of writing (removing values method) e.g. input:6 2 3 4 3 8 output:6 2 4 8

© Stack Overflow or respective owner

Related posts about stack

Related posts about array