0
How can i Delete sequences from stack or queue?
Code
3 Respuestas
+ 5
Totally depends on language and whether you coded it or are using a library. Please edit this post to add enough information to get realistic answer.
https://www.sololearn.com/Discuss/333866/?ref=app
0
In java, you have stack that ordered like this:
1,1,2,2,2,3,3,3,4,4
Turn it to this:
1,2,3,4
0
If you can also solve this problem in queue it will be realy good