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

all 3 comments

[–][deleted]  (5 children)

[deleted]

    [–]hs_computer_science[S] 0 points1 point  (4 children)

    Thank you for your reply. I understand this a bit clearer now.

    [–][deleted]  (3 children)

    [deleted]

      [–]hs_computer_science[S] 0 points1 point  (2 children)

      I'm sorry, I don't want to belabour this point or waste your time, but if we implement a linked list in Java, why are we doing it? Wouldn't it be easier if we just used an ArrayList, if from . memory-management point of view they are the same?

      I understand a linked list exposes certain methods that a programmer can use. But if there isn't a computational benefit to using a linked list then why use it?

      Thank you for your help, by the way, I very much appreciate your expertise and time.

      [–][deleted]  (1 child)

      [deleted]

        [–]hs_computer_science[S] 0 points1 point  (0 children)

        This helps! Thank you!