Fragen im Vorstellungsgespräch bei Bullhorn: What is the difference betwee... | Glassdoor.de

Frage im Vorstellungsgespräch

Software Engineer-Vorstellungsgespräch Boston, MA (Vereinigte Staaten von Amerika)

What is the difference between a linked list and an array?

Antwort

Antwort im Vorstellungsgespräch

3 Antworten

0

It is easier to store data of different sizes into a linked list while arrays assume each element is the same size.

Bewerber im Vorstellungsgespräch am 10.08.2015
0

A linked list requires traversal to access a needed element while an array can be accessed at any point via index

Anonym am 05.12.2016
0

An array is a fixed block of continuous memory with constant size that is indexed with integers. Linked lists are a series of containers constructed with pointers where the user usually only has access to the head and the tail of the list. Lists can be of arbitrary size since each container element is located in a different part of memory.

Anonym am 28.12.2016

Antwort oder Kommentar posten

Um dies zu kommentieren, bitte anmelden oder Konto anlegen.