What is a linked list? Explain the 2 fields in a linked list?



What is a linked list? Explain the 2 fields in a linked list?..

Answer / rakesh sharma

In computer science, a linked list is one of the fundamental
data structures, and can be used to implement other data
structures. It consists of a sequence of nodes, each
containing arbitrary data fields and one or two references
("links") pointing to the next and/or previous nodes. The
principal benefit of a linked list over a conventional array
is that the order of the linked items may be different from
the order that the data items are stored in memory or on
disk, allowing the list of items to be traversed in a
different order. A linked list is a self-referential
datatype because it contains a pointer or link to another
datum of the same type. Linked lists permit insertion and
removal of nodes at any point in the list in constant
time,[1] but do not allow random access. Several different
types of linked list exist: singly-linked lists,
doubly-linked lists, and circularly-linked lists.

Linked lists can be implemented in most languages. Languages
such as Lisp and Scheme have the data structure built in,
along with operations to access the linked list. Procedural
or object-oriented languages such as C, [[C++]], and Java
typically rely on mutable references to create linked lists.

Is This Answer Correct ?    14 Yes 0 No

Post New Answer

More VLSI Interview Questions

What is look up table in vlsi?

0 Answers  


Are you familiar with VHDL and/or Verilog?

1 Answers   Intel,


What happens if we delay the enabling of Clock signal?

4 Answers  


How does a pn junction works?

2 Answers   Wipro,


What are the steps required to solve setup and hold violations in vlsi?

0 Answers  






Implement an Inverter using a single transistor?

4 Answers   Intel,


What was your role in the silicon evaluation or product ramp? What tools did you use?

0 Answers   Intel,


Write a pseudo code for sorting the numbers in an array?

2 Answers   Intel,


What is Noise Margin? Explain the procedure to determine Noise Margin?

4 Answers   Amkor, Cisco, Infosys, Intel,


Explain depletion region.

0 Answers  


Explain various adders and difference between them?

0 Answers   Intel,


What are the steps involved in designing an optimal pad ring?

0 Answers  


Categories