What is a data structure?

Options

  • A. A type of computer hardware
  • B. A way to store and organize data
  • C. A programming language
  • D. A collection of algorithms

Correct Answer (Detailed Explanation is Below)

B. A way to store and organize data

Detailed Explanation

A data structure is a method of organizing and storing data in a computer so that it can be accessed and modified efficiently.

Examples:

  • Array

  • Linked List

  • Stack

  • Queue

  • Tree

  • Graph


OOps! You are currently offline.