An empty list is the one which has no

Options
- nodes
- data
- both a and b
- address


CORRECT ANSWER : both a and b

Discussion Board
Computer science

Correct answer
Both a and c

Naeem ur rehman 02-16-2021 01:27 AM

Data Structure - Empty List

An empty list is the one which has no data and nodes. It is a list that contains no data records. This is usually the same as saying it has zero nodes. If sentinel nodes are being used, the list is usually said to be empty when it has only sentinel nodes.

Prajakta Pandit 02-1-2017 12:15 AM

mistake

when talking about you are talking about an array so the answer in this case is data cause the empty array is an array with no data
and when talking about a linked list the answer will be just nodes cause you cant have data in a linked list with out having nodes


mohamed 01-5-2016 07:17 PM

Data structure & Algorithm

@Thivya have you studied linked list? a linked list always consists of nodes, in which datas are stored. and the links between nodes are done. by which the data entered are stored in those nodes one after another using the links. links between nodes depend on the type of linked list- single,circular, or double!!

Abhishek 10-4-2015 05:16 PM

doubt

how can a list contain node?can any one explain?

Thivya 09-11-2015 12:07 AM

Write your comments


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)


Advertisement