Skip to content

Quick sort and Insertion sort sorting algorithm. #114

@PradeepFSTdhane123

Description

@PradeepFSTdhane123

Quick sort

-Quick Sort is a divide-and-conquer algorithm that works by selecting a pivot element and partitioning the array around the pivot. After partitioning, the elements smaller than the pivot a-re placed on the left, and the elements greater than the pivot are on the right. The process is repeated recursively for the left and right subarrays.

#.Insertion sort
-Insertion sort is an in-place comparison-based sorting algorithm. It works by repeatedly selecting the minimum element (or maximum, depending on the order) from the unsorted portion of the array and swapping it with the first unsorted element. This process is repeated until the entire array is sorted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions