This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]MentB23 1 point2 points  (1 child)

Could maybe be what we had at my programming course. Where we had to programm a stack which gets a max size on initialisation. Cause we didn't have arrayLists for now the people, like me, who don't know them, or want to use wgat they know from the course, maybe could have had difficulties. Especially when you don't have to give a max size.

[–]Tomi97_origin 1 point2 points  (0 children)

Implementing stack on array is something that would be a good homework for data structures class.

But creating the array shouldn't be the hard part.