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
