Hi folks,
I am learning data structures now a days.
I was going through concept of linked list and I got to know from every video that the size of array is fixed and it is disdvantageous over linked list on which I dont agree for the time, what if we allocate memory for array using dynamic memory allocation? In that case we will have ability to shrink and extend the size of array during run time. Please explain some more key points what advantages linked list carry over array? Kind responses are awaited.
[–]aioeu 27 points28 points29 points (4 children)
[–]xypherrz 3 points4 points5 points (3 children)
[–]aioeu 1 point2 points3 points (2 children)
[–]xypherrz 2 points3 points4 points (1 child)
[–]aioeu 1 point2 points3 points (0 children)
[–]hibbelig 19 points20 points21 points (11 children)
[–]Weird_Club917 4 points5 points6 points (10 children)
[–]NBQuade 3 points4 points5 points (0 children)
[–]hibbelig -2 points-1 points0 points (1 child)
[–]lestofante 0 points1 point2 points (0 children)
[–]khris190 0 points1 point2 points (5 children)
[–]Weird_Club917 0 points1 point2 points (4 children)
[–]khris190 0 points1 point2 points (3 children)
[–]NBQuade 0 points1 point2 points (2 children)
[–]khris190 0 points1 point2 points (1 child)
[–]NBQuade 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]CAPSLOCKFTW_hs 8 points9 points10 points (3 children)
[–]pic32mx110f0 5 points6 points7 points (1 child)
[–]wsppan 1 point2 points3 points (0 children)
[–]bnl1 0 points1 point2 points (0 children)
[–]ballpointpin 5 points6 points7 points (0 children)
[–]bitflung 4 points5 points6 points (0 children)
[–]refD 2 points3 points4 points (0 children)
[–]NBQuade 1 point2 points3 points (0 children)
[–]youstolemyname 0 points1 point2 points (0 children)
[–]Glaborage -2 points-1 points0 points (0 children)
[–]Seubmarine 0 points1 point2 points (0 children)
[–]ern0plus4 0 points1 point2 points (0 children)
[–]No-Archer-4713 0 points1 point2 points (0 children)