Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Introduction to Quick Sort Algorithm, Slides of Data Structures and Algorithms

This document introduces the Quick Sort Algorithm, also known as Partition Exchange Sort. It explains how to pick a pivot element and partition an array into elements less than and greater than the pivot. The document also includes a sample algorithm and an example for practice.

Typology: Slides

2018/2019

Available from 04/28/2023

unnati-maheshwari
unnati-maheshwari 🇮🇳

3 documents

1 / 7

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Quick Sort
pf3
pf4
pf5

Partial preview of the text

Download Introduction to Quick Sort Algorithm and more Slides Data Structures and Algorithms in PDF only on Docsity!

Quick Sort

Introduction

• The algorithm is called as Quick sort or

partition exchange sort

• Pick an pivot element

• Partition an array into elements <pivot =pivot

and >pivot

• Quick sort this smaller separately

Example

Example for Practice