GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Karteikarten

Runtime

President QC Computer Science Englisch 15 Karten

Karten in diesem Stapel (15)

  1. 1Inserting an element into a max heapO(logn)
  2. 2Removing the max element from a max heapO(logn)
  3. 3Inserting n elements one at a time into an initially empty max heapO(nlogn)
  4. 4Building an n-element max heap bottom-upO(n)
  5. 5insertion sort (worst-case)O(n^2)
  6. 6Insertion sort (best-case)O(n)
  7. 7Heapsort (worst-case)O(nlogn)
  8. 8Mergesort (worst-case)O(nlogn)
  9. 9Quicksort (worst-case)O(n^2)
  10. 10Quicksort (average-case)O(nlogn)
  11. 11Quickselect (average-case)O(n)
  12. 12Counting sort (worst-case)O(n+k)
  13. 13Bucket sort (n uniformly-distributed elements, n buckets) (average-case)O(n)
  14. 14inserting an element into a hash tableO(n/m)
  15. 15Suppose you want to find the shortest path from vertex s to vertex t in an unweighted undirected graph. If you use bidirectional search, what is the runtime? Give your answer in big O notation as a function of b (the branching factor) and d (the length of the shortest path).O(b^d/2)

Informationen

Beschreibung
Computer Science Karteikarten am Runtime, erstellt von President QC am 15/05/2019.
Erstellt von
President QC
Aufrufe
12
Bewertung

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck