O GoConqr está de visual novo! Conte para nós o que você achou.

Mapa mental

Sorting and Selection

Angelica Cordero Espanhol

Sorting and Selection

Conteúdo do mapa

Sorting and Selection

  1. Bucket-Sort

    • Not based on comparisons algorithm, but on using keys as indices into a bucket array B that has cells indexed from 0 to N-1
      • Runs in O(n+N) time
      • Uses O(n+N) space
      • Efficient when the range N is smaller than the sequence n
  2. Radix-Sort

    • Sorts a sequence S of entries with keys that are in pairs
    • It applies a stable bucket-sort on the sequence twice
  3. Comparing Sorting Algorithms

    • Consider Running Time among other factores
  4. Selection

    • Selecting the smallest element from an unsorted collection of n comparable elements
    • Prune-and-search: we solve a given problem that is defined on a collection of n objects by pruning away a fraction of the n objects and recursively solving the smaller problem
      • When the problem is reduced to one defined on a constant sized collection of objects, we solve the problem using a brute-force method
    • Randomized Quick-Select
      • Runs in O(n) expected time, O(n^2) worst case time

Imagens e arquivos do mapa

  • Sorting and Selection
  • Sorting and Selection

Informações

Descrição
Mapa Mental sobre Sorting and Selection, criado por Angelica Cordero em 25-05-2022.
Visualizações
2
Avaliação

Fale Conosco

Sobre o que é sua mensagem?

O que você acha do novo visual?

Você gostou?