What data structure is commonly used to perform a linear search?

  • Array
  • Binary Tree
  • Hash Table
  • Linked List
The commonly used data structure to perform a linear search is an array. In a linear search, each element in the array is checked one by one until the target element is found or the entire array is traversed. Arrays provide constant-time access to elements based on their index, making them suitable for linear search operations.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *