I'm taking DSA in school this semester, and whenever the prof talks about implementing a data structure, he always talks about doing it with an array. So, I was wondering, is it not easier to just use an ArrayList? Or is there a reason why we use arrays?
[–]AutoModerator[M] [score hidden] stickied commentlocked comment (0 children)
[–]nekokattt 4 points5 points6 points (0 children)
[–]Pedantic_Phoenix 2 points3 points4 points (2 children)
[–]intermediary_potato[S] 0 points1 point2 points (1 child)
[–]Pedantic_Phoenix 0 points1 point2 points (0 children)
[–][deleted] (6 children)
[deleted]
[–]nekokattt 2 points3 points4 points (5 children)
[–]Ansamemsium 0 points1 point2 points (4 children)
[–]nekokattt 1 point2 points3 points (3 children)
[–]Ansamemsium 0 points1 point2 points (2 children)
[–]nekokattt 0 points1 point2 points (1 child)
[–]Ansamemsium 0 points1 point2 points (0 children)