Advertisements
Advertisements
प्रश्न
List different types of linear data structures.
लघु उत्तरीय
Advertisements
उत्तर
- 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
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
2025-2026 (March) Official Board Paper
