Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CG/2014-Hauptklausur, Aufgabe 6 d) 2. #15

Closed
StephanGocht opened this issue Mar 4, 2016 · 0 comments
Closed

CG/2014-Hauptklausur, Aufgabe 6 d) 2. #15

StephanGocht opened this issue Mar 4, 2016 · 0 comments
Labels

Comments

@StephanGocht
Copy link

Der Aufwand für den Aufbau ist linear bei Gittern: Du weißt ja sofort wo das dreieck hin muss wenn du dir es anschaust, musst es also nicht zweimal anschauen. Man muss das Ergebnis dann zwar noch eintragen und ein dreieck könnte ja über alle Felder des gitters gehen aber das ist nicht die Frage. Die Laufzeit dürfte O(n*m) sein wobei n die anzahl der dreiecke und m die anzahl der Felder im Gitter ist (im schlimmsten Fall muss man jedes dreieck in alle gitter zellen eintragen).

@MartinThoma MartinThoma changed the title CG-2014 Hauptklausur Aufgabe 6 d) 2. CG/2014-Hauptklausur, Aufgabe 6 d) 2. Mar 6, 2017
@MartinThoma MartinThoma added the CG label Mar 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants