Which of the following is a linear data structure
Asked by admin @ in Computer Science viewed by 317 People
Which of the following data structure is linear type?
A) Tree
B) Binary Tree
C) Queue
D) Graph
Asked by admin @ in Computer Science viewed by 317 People
Which of the following data structure is linear type?
A) Tree
B) Binary Tree
C) Queue
D) Graph
Answered by admin @
Answer: C) Queue
Explanation:
A data structure is a specialized format for organizing and storing data. General data structure types include the array, the file, the record, the table, the tree, and so on. Any data structure is designed to organize data to suit a specific purpose so that it can be accessed and worked with in appropriate ways.
Linear data structure: A linear data structure traverses the data elements sequentially, in which only one data element can directly be reached.
Ex: Arrays, Linked Lists, Stack, Queue, Any type of List all are linear.
Trees like Binary Tree, B Tree or B+ Tree are examples of non linear data structure.
Asked by admin @ in Computer Science viewed by 438 persons
Asked by admin @ in Computer Science viewed by 343 persons
Asked by admin @ in Computer Science viewed by 293 persons
Asked by admin @ in Science viewed by 345 persons
Asked by admin @ in Computer Science viewed by 354 persons
Asked by admin @ in Computer Science viewed by 351 persons
Asked by admin @ in Computers and Technology viewed by 417 persons
Asked by admin @ in Social Studies viewed by 419 persons
Asked by admin @ in Biology viewed by 435 persons
Asked by admin @ in Social Studies viewed by 387 persons
Asked by admin @ in Computer Science viewed by 393 persons
Asked by admin @ in Computer Science viewed by 356 persons
Asked by admin @ in Math viewed by 289 persons
Asked by admin @ in Math viewed by 325 persons
Asked by admin @ in Math viewed by 405 persons
Asked by admin @ in Computer Science viewed by 19030 persons
Asked by admin @ in Computer Science viewed by 15815 persons
Asked by admin @ in Computer Science viewed by 10977 persons
Asked by admin @ in Computer Science viewed by 10407 persons
Asked by admin @ in Computer Science viewed by 8145 persons
Asked by admin @ in Computer Science viewed by 7845 persons
Asked by admin @ in Computer Science viewed by 6492 persons
Asked by admin @ in Computer Science viewed by 5796 persons
Asked by admin @ in Computer Science viewed by 5696 persons
Asked by admin @ in Computer Science viewed by 5479 persons
Asked by admin @ in Computer Science viewed by 4986 persons
Asked by admin @ in Computer Science viewed by 4976 persons
Asked by admin @ in Computer Science viewed by 4688 persons
Asked by admin @ in Computer Science viewed by 4492 persons