English

List different types of linear data structures. - Computer Science 1

Advertisements
Advertisements

Question

List different types of linear data structures.

Short Answer
Advertisements

Solution

  • Array: fixed-size, contiguous indexed collection (random access).
  • Linked list (singly, doubly, circular): nodes connected by pointers; flexible size, easy insertion/deletion.
  • Stack: LIFO structure (push/pop).
  • Queue: FIFO structure (enqueue/dequeue); variants: circular queue, deque (double‑ended queue), priority queue.
  • String: sequence of characters (conceptually a specialised linear array).
  • Record/Parallel arrays: grouped fields for a record, sometimes stored in parallel arrays.
shaalaa.com
  Is there an error in this question or solution?
2025-2026 (March) Official Board Paper
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×