Skip to main content
  1. /classes/
  2. Classes, Fall 2024/
  3. CS 2381 Fall 2024: Course Site/
  4. cs2381 Notes/

cs2381 Notes: 19 LogN and Skip Lists

·48 words·1 min·

Material:

  • Binary search on ArrayList
  • Skip lists

Core idea:

  • Searching through a list takes O(n) time.
  • Searching through a sorted list only needs to take O(log n) time, as long as you have some way to quickly jump to the middle of the unsearched part of the list.
Nat Tuck
Author
Nat Tuck