Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
rezadhah838y@meesk it is one way to structured your data. In array we have index to point specific array. In linked list, it has pointers, a lot of pointers, where the pointer will point to another pointer to the data.
-
@rezadhah Maybe associative array rings a bell instead?
I haven't actually heard the term linked list, although I understood it (Not exactly magic, no) -
Bikonja23868y@KnightsOfCode how about a forward-only reader like maybe a cursor on a database? Grantes, you probably haven't seen the actual code of the reader/cursor, but still.... :)
-
juzles38618y@SpectralKH not true.
Linked list is a data structure where each node has a pointer for the next one. Single linked lists are forward only, double linked lists have pointer for previous node so can iterate both directions.
You shouldn't implement assoc arrays with linked lists as you'll get O(n) to get the node.
Basically, pointer hell.
Related Rants
-
skiilaa41"Are you familiar with uploading your code to Google Drive?" I left the building at that exact moment.
-
qbalsdon49Got this from a recruiter: We are looking for a **Senior Android Developer/Lead** at Philadelphia PA Hiring ...
-
nikolatesla9At the ending part of the interview, I asked a final question to the HR. Me: "So, what language is mostly use...
What is the difference between an Array and a Linked List?
undefined
fuckoffmate
wk48
fuckingkiddingme