0
How to implement Stack data structure without using Stack Class? Base on the sample
Enter # on input: 5 (note: # of input may vary) Example Input: 1 2 3 4 5 Menu: [1]Reverse Even [2]Reverse Odd [3]Exit If choice == 1 Output: 4 2 if Choice == 2 Output: 5 3 1
3 Réponses
+ 3
I really hope you like it, I made this for you
https://code.sololearn.com/cVwqojPtTxy3
// Keep learning & happy coding :D
+ 2
Look at this, learn how it works first. Figure out how to traverse the data structure afterwards.
https://www.sololearn.com/learn/760/?ref=app
0
SoloProg can you help me do it in encapsulation?