Jon Rumsey

An online markdown blog and knowledge repository.


Project maintained by nojronatron Hosted on GitHub Pages — Theme by mattgraham

Big O and Linked Lists

References

CodeFellows Common Curriculum Doc on Big O Anlaysis of Algorithm Efficiency

CodeFellows Common Curriculum Doc on Linked Lists

What is a Linked List Anyway part 1

What is a Linked List Anyway part 2

Big O Analysis of Algorithms

Running Time aka Time Efficiency aka Time Complexity:

"The amount of time a function needs to complete."

Memory Space aka Space Efficiency aka Space Complexity:

"The amount of memory resources a function uses to store data and instructions."

Considerations

Evaluate Space and Time efficiency in terms of "worst case scenario"s.
Key areas for analysis to consider:

Take a peek at this article at InterviewCake.com regarding Big O Notation

Asymptotic Notations

Big O: Worst Case scenario for an algorithm aka the upper bounds of Time and Space.

Big Omega: Best Case scenario for an algorithm aka the lower bounds of Time and Space.

Big Theta: Average Case scenario - tight bounds for Time and Space are considered.

Linked Lists

Keep These Top Of Mind

Quoted in Medium.com

Considering Big O

Traversal:

Adding a Node:

Return to Parent Readme.md