100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Class notes

Big O Notation Algorithms explained

Rating
-
Sold
-
Pages
3
Uploaded on
05-11-2021
Written in
2021/2022

A written short study into Big O Notation. How the algorithm determines how long an algorithm takes to execute- As well as enabling software engineers to determine how efficient different approaches to solving computational problems are.

Show more Read less
Institution
Course








Whoops! We can’t load your doc right now. Try again or contact support.

Connected book

Written for

Institution
Study
Course

Document information

Uploaded on
November 5, 2021
Number of pages
3
Written in
2021/2022
Type
Class notes
Professor(s)
Matthew lee king
Contains
All classes

Subjects

Content preview

Algorithms 1 - BSc Computer Science (Semester 1) - Goldsmith, University of London




Big O Notations is a way to represent how long an algorithm will take to execute. It is used to
enable a Software Engineer to determine how efficient different approaches to solving
problems are. There are 4 main common types of time complexities in Big O Notation: -




● O(1) - Constant time complexity
● O (n) - Linear time complexity
● O(log n) - Logarithmic time complexity
● O(n ^ 2) - Quadratic time complexity

O(1) CONSTANT TIME COMPLEXITY:

Constant time algorithms will always take the same amount of time to be executed. The
execution time of these algorithms is independent of the size of the input. A effective
example of O(1) time is accessing a value with an array index.
E.g Push() or pop() operations on an array.
$4.11
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached

Get to know the seller
Seller avatar
noahpayne

Get to know the seller

Seller avatar
noahpayne Goldsmiths, University of London
Follow You need to be logged in order to follow users or courses
Sold
0
Member since
4 year
Number of followers
0
Documents
1
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions