menu_book Course Curriculum (Data Structures & Algorithms) expand_more
Complexity & Foundations
Arrays & Strings
Linked Lists
Stacks & Queues
Hashing
Trees & Heaps
Graphs
Big Omega notation
Learn Big Omega notation in Data Structures & Algorithms with a focused explanation, a topic-specific example, edge guidance, and a mastery check.
12 min read
•
Beginner
data-structures-algorithms-002.py
python
def linear_search(items,target):
for i,v in enumerate(items):
if v==target: return i # best case Ω(1)
return -1
print(linear_search([9,3,7],9))
What to watch
Content source & attribution
Original Syntaxis Content · Original Syntaxis Content