Skip to main content

2 docs tagged with "Worst Case"

View all tags

Case Studies: Searching

Comparing sequential search, sentinel search, and binary search, including correctness pitfalls and when sorting pays off.

Complexity Analysis

Counting elementary operations with summations, best/average/worst cases, and space complexity including the call stack.