Sorting and Selection

Description

Mind Map on Sorting and Selection, created by Angelica Cordero on 22/05/2022.
Angelica Cordero
Mind Map by Angelica Cordero, updated more than 1 year ago
Angelica Cordero
Created by Angelica Cordero over 3 years ago
4
0

Resource summary

Sorting and Selection
  1. Merge-Sort
    1. Divide-and-Conquer
      1. Divide (divide the input data into 2 or more disjoint subsets), conquer (recursively solve the subproblems), combine (merge the sorted sequences)
        1. Input sequences processed
          1. Output sequences generated
        2. Array-Based Implementation
          1. Implementation of recursive algorithm for Java array
          2. Running time
            1. Each node represents the time spent in a particular recursive call
              1. O(n log n)
              2. Alternative Implementations
                1. Sorting Linked Lists
                  1. A Bottom-Up (Nonrecursive) Merge-Sort
                Show full summary Hide full summary

                Similar