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

Zusammenfassung Algorithmen und Berechnungskomplexität1-Präsenzzettel1-Algo1

Rating
-
Sold
-
Pages
8
Uploaded on
18-12-2024
Written in
2024/2025

Dieses Dokument enthält die Lösungen zum 1. Präsenzblatt des Moduls Algorithmen und Berechnungskomplexität 1 sowie zusätzliche Mitschriften zur besseren Verständlichkeit.

Institution
Course









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

Written for

Institution
Study
Course

Document information

Uploaded on
December 18, 2024
File latest updated on
December 27, 2024
Number of pages
8
Written in
2024/2025
Type
Summary

Subjects

Content preview

Algorithmen und Berechnungshomplexität7 Präsenzblatt I

Aufgabe 7 7 .




Gegeben : Ein unsortiertes Array 8 ,1, 5, 3 , 4 , 9 6 5 , 8
, ,




Um das
Array mithilfe von MergeSort zu sortieren ,




Array zusachst lange geteilt
wird das
gegebene so ,



bis die einzelnen Teilarrays eine
Lange von 1 haben ,




Anschließend werden diese Teilarrays rekursiv in

sortierter Reihenfolge wieder zusammengeführt .

Formel verwendet,
Dabei wird die
folgen de
um die Mitte eines Arrays zu berechnen, me tr
Hierbei ist I der Start- und r der Endindex des aktuell betrachteten Teilarrays ,

, 815349658
Index : 0 12345678




Beispiel :
815349658
m = 0+
4
-0 = 2



815349658


815349658

81


18



158346958


134585689


134556889

Das sortierte Array lautet 1 , 3 , 4 , 5 , 5 6 8 8 , 9 , , .
$3.63
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
elijah1888

Get to know the seller

Seller avatar
elijah1888 Rheinische Friedrich-Wilhelms-Universität Bonn
Follow You need to be logged in order to follow users or courses
Sold
0
Member since
1 year
Number of followers
0
Documents
6
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