¡GoConqr estrena diseño! Cuéntanos qué te parece.

Fichas

Runtime

President QC Computer Science Inglés 15 fichas

Fichas del conjunto (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)

Información

Descripción
Computer Science Fichas sobre Runtime, creado por President QC el 15/05/2019.
Creado por
President QC
Visitas
12
Valoración

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?