- Mitglied seit
- 03.08.2002
- Beiträge
- 3.193
- Reaktionen
- 0
Hi,
verzweifle gerade an den ziemlichen basic sachen der algorithmik.
folgende aufgaben sind gegeben:
Problem 1: Asymptotic Notations (Die ')' soll auch eine echte Teilmenge darstellen in der Aufgabenstellung
)
Compare the following sets ( ')' , C, =) and prove your statements.
(a) O(n^2) and O(n log n)
(b) Theta(2^n) and Theta(n^n)
(c) o(2^n) and o(2^(n+1))
Problem 2: Asympotically Tight Bound 3
Let f and g be two nonnegative functions. Prove that
max(f(n), g(n)) Element O(f(n) + g(n)).
1. wie führe ich beweis in aufgabe 1?
2. was soll das max? WIe löse ich das?
danke!
verzweifle gerade an den ziemlichen basic sachen der algorithmik.
folgende aufgaben sind gegeben:
Problem 1: Asymptotic Notations (Die ')' soll auch eine echte Teilmenge darstellen in der Aufgabenstellung

Compare the following sets ( ')' , C, =) and prove your statements.
(a) O(n^2) and O(n log n)
(b) Theta(2^n) and Theta(n^n)
(c) o(2^n) and o(2^(n+1))
Problem 2: Asympotically Tight Bound 3
Let f and g be two nonnegative functions. Prove that
max(f(n), g(n)) Element O(f(n) + g(n)).
1. wie führe ich beweis in aufgabe 1?
2. was soll das max? WIe löse ich das?
danke!