+ 1

I implemented Stack logic in java. Just look at my project and comment what you feel. It is very new way to apply Stack logic.

https://code.sololearn.com/cJKokJjXxF6Z/?ref=app

19th Aug 2021, 3:34 PM
Arbaz Ashfaque Shaikh
4 Réponses
+ 1
Nice! You can control errors in push and pop and use Generics (to use your Stack with any type, not only ints) Example: https://www.geeksforgeeks.org/how-to-implement-stack-in-java-using-array-and-generics/
19th Aug 2021, 3:51 PM
David García Prados
0
https://www.sololearn.com/discuss/1316935/?ref=app
19th Aug 2021, 3:35 PM
Simon Sauter
Simon Sauter - avatar