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
Class notes

Samenvatting eco

Rating
-
Sold
-
Pages
1
Uploaded on
26-04-2022
Written in
2021/2022

Erg handig voor studeren

Institution
Course

Content preview

Let op!: The Θ(n2) bound on the worst-case running time, however, does not imply a Θ(n2) bound on the running time of insertion sort on every input!

Snelheid Vergelijking
Insertion sort Worst-case running time: Θ(n2)
Stabiel en in place
Running time: Ω(n) en O(n2)

Merge sort Worst-case running-time: Θ(n lg n) Stabiel en niet in place

Asymptotisch optimaal, want kost n log n tijd en ook tenminste n log n tijd.
Het opsplitsen: Θ(lg n)
Merge (de methode) : Θ(n)

Best: Ω(n log n)

Bucket sort Best en average: n Stabiel en niet in place
Worst-case: O(n2)
Bubble sort Worst-case running time: Θ(n2) Stabiel en in place
Best: Ω(n)

Selection sort Best: Ω(n^2) Worst: O(n^2) Niet stabiel en in place


Counting sort Worst-case running time: Θ(n + k) Stabiel en niet in place


Quick sort Worst-case running time: Θ(n2) Niet stabiel en in place
Best: Ω(n log n)

Heap sort Worst-case running time: Θ(n log n) Asymptotisch optimaal, want kost n log n tijd en ook tenminste n log n tijd.
Best: Ω(n log n)
Stabiel en in place

Radix sort Best, worst & average: n * k Stabiel en niet in place

Written for

Institution
Study
Course

Document information

Uploaded on
April 26, 2022
Number of pages
1
Written in
2021/2022
Type
Class notes
Professor(s)
Nvt
Contains
All classes

Subjects

$27.01
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
DeniseLaura

Get to know the seller

Seller avatar
DeniseLaura Erasmus Universiteit Rotterdam
Follow You need to be logged in order to follow users or courses
Sold
-
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

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

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions