example of linear and non-linear data structures?

Answer Posted / santosh kumar chaudhary

A linear data structure is one in which, while traversing
sequentially, we can reach only one element directly from
another. Eg- Linked List, Array.

Is This Answer Correct ?    21 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which sorting algorithm is best for small data?

457


Give a real time example of stack

545


What is a matrix? Explain its uses with an example

566


What is impact of signed numbers on the memory?

516


How is a queue works?

538






What is a node in it?

540


Which is faster arraylist or linked list?

480


What is a bubble sort and how do you perform it?

652


Why linked lists are better than arrays?

518


What is garbage collection in data structure?

492


Which collection type is used to maintain uniqueness of data structure?

1012


Why heap sort is not used?

474


What is the best sorting technique?

480


What is the difference between null and void?

527


Are duplicates allowed in hashmap?

485