100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Lecture 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








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

Document information

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

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.
£2.99
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
View profile
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 exams and reviewed by others who've used these revision notes.

Didn't get what you expected? Choose another document

No problem! You can straightaway pick a different document that better suits what you're after.

Pay as you like, start learning straight 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 smashed it. It really can be that simple.”

Alisha Student

Frequently asked questions