About 170 results
Open links in new tab
  1. Quicksort algorithm overview | Quick sort (article) | Khan Academy

    Like merge sort, quicksort uses divide-and-conquer, and so it's a recursive algorithm. The way that quicksort uses divide-and-conquer is a little different from how merge sort does. In merge …

  2. Analysis of quicksort (article) | Quick sort | Khan Academy

    How is it that quicksort's worst-case and average-case running times differ? Let's start by looking at the worst-case running time. Suppose that we're really unlucky and the partition sizes are …

  3. Algorithms | Computer science theory | Computing | Khan Academy

    We've partnered with Dartmouth college professors Tom Cormen and Devin Balkcom to teach introductory computer science algorithms, including searching, sorting, recursion, and graph …

  4. Vista general del ordenamiento rápido (artículo) | Khan Academy

    Entonces, ¿por qué pensar acerca del ordenamiento rápido cuando el ordenamiento por mezcla es al menos igual de bueno? Esto se debe a que el factor constante oculto en la notación Θ …

  5. Linear-time partitioning (article) | Khan Academy

    The partition function that implements this idea also returns the index q where it ended up putting the pivot, so that the quicksort function, which calls it, knows where the partitions are.

  6. Divide and conquer algorithms (article) | Khan Academy

    Divide and conquer algorithms (article) | Khan Academy ... Khan Academy

  7. Merge sort algorithm overview (article) | Khan Academy

    In the next challenge, you'll focus on implementing the overall merge sort algorithm, to make sure you understand how to divide and conquer recursively. After you've done that, we'll dive …

  8. Visão geral do quicksort (artigo) | Khan Academy

    O modo como o quicksort usa divisão e conquista é um pouco diferente de como o merge sort faz. No merge sort, o passo da divisão não faz muita coisa, e todo o trabalho acontece na …

  9. Szybkie sortowanie (quicksort) (artykuł) | Khan Academy

    Wyjaśnimy jak quicksort wykorzystuje strategię dziel-i-rządź (divide-and-conquer). Podobnie jak w przypadku merge sort, załóżmy, że chcemy posortować podtablicę array[p..r], zakładając na …

  10. What is an algorithm and why should you care? - Khan Academy

    Tom and Devin will teach you many of the algorithms that you would learn in APCS or CS 101, like searching algorithms, sorting algorithms, recursive algorithms and my personal favorite, …