Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Lecture notes

Analysis of Algorithms

Rating
-
Sold
-
Pages
45
Uploaded on
11-01-2021
Written in
2020/2021

Analysis of Algorithms 2.1. Efficiency of Algorithms 2.2. Apriori Analysis 2.3. Asymptotic Notations 2.4. Time Complexity of an Algorithm using O (big-O) notation

Content preview

Algorithm Analysis
with

Big Oh

Data Structures and Design with Java and JUnit
Chapter 12
©Rick Mercer

, Algorithm Analysis
w Objectives
⎯ Analyze the efficiency of algorithms
⎯ Analyze a few classic algorithms
• Linear Search, Binary Search, Selection Sort
⎯ Know the differences between O(1), O(n),
O(log n), and O(n2)
⎯ Visualize runtime differences with
experiments

, Algorithms continued

w Computer Scientists focus on problems such as
⎯ How fast do algorithms run
⎯ How much memory does the process require
w Example Applications
⎯ Make the Internet run faster
• Pink-Degemark's routing algorithms
• Gene Meyers determined the sequences of the Human
genome using his whole genome shotgun algorithm

, Analysis of Algorithms

w We have ways to compare algorithms
⎯ Generally, the larger the problem, the longer it
takes the algorithm to complete
⎯ Sorting 100,000 elements can take much more
time than sorting 1,000 elements
• and more than 10 times longer
⎯ the variable n suggests the "number of things"
⎯ If an algorithm requires 0.025n2 + 0.012n +
0.0005 seconds, just plug in a value for n

Document information

Uploaded on
January 11, 2021
Number of pages
45
Written in
2020/2021
Type
Lecture notes
Professor(s)
Mr. mohd alif hasmani bin abd ghani
Contains
All classes

Subjects

£8.89
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
thevakavi

Get to know the seller

Seller avatar
thevakavi Universiti Malaysia Perlis
View profile
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
5 year
Number of followers
0
Documents
13
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Trending documents

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