DEV Community

Discussion on: Six Data Structures To Help You Ace Your Technical Interview

Collapse
 
juanvg profile image
Juan Vela

Regarding the linked list, "This structure uses the LIFO, or last-in-first-out, method where nodes are added to and deleted from the same end." is completely false (specially if it's a sorted one). You can add a new node wherever you want, and the same happens for deletion. You shouldn't mix it with the stack structure