Range Search

This is the notes from what I learned in CS240. Similar notes are in Range Query.

Range searches in existing dictionary realizations:

  • Unsorted list/array/hash table: Range search requires time: We have to check for each item explicitly whether it is in the range.
  • Sorted array: Range search in A can be done in time with Binary Search, where is the output size
  • BST: Range searches can similarly be done in time time, see BST Range Search.

Data Structures