Sorting Algorithms Full Course 2023| Data Structures and Algorithms Made Easy for Beginners

preview_player
Показать описание

Scaler and InterviewBit bring to you a complete course on understanding Sorting applications and its functions along with relevant examples.

🔹 Introduction to Sorting Algorithms:

A Sorting Algorithm is used to rearrange a given array or list elements according to a comparison operator on the elements. The comparison operator is used to decide the new order of elements in the respective data structure.

🔹 Why are sorting algorithms important? And why are they consistently asked during coding interviews?

Since sorting algorithms simplify the complexity of a problem in data structures, knowing about sorting algorithms and its applications are given importance at interviews. These algorithms have direct applications in searching algorithms, database algorithms, divide and conquer methods, data structure algorithms, and many more.

This full course tutorial on Sorting Algorithms covers the following topics:

*Insertion Sort
Insertion sort is a simple sorting algorithm that virtually splits a data structure into a sorted and an unsorted part. Values from the unsorted part are picked and placed at the correct position in the sorted part.

*Bubble Sort
Bubble Sort is one of the simplest sorting algorithms. It works by swapping adjacent elements sorted in the wrong order until sequenced in the correct required order.

*Selection Sort
In Selection Sort algorithm, the algorithm sorts an array by repeatedly finding the minimum element from the unsorted part and places it at the beginning of the sequence.

*Counting Sort
Counting sort is an algorithm used to sort a collection of objects according to keys that are small positive integers; it falls in the bracket of an integer sorting algorithm.

*Merge Sort
Merge Sort divides the input array into two halves, calls itself for the two halves, and then merges the two sorted halves.

*Quick Sort
QuickSort is a Divide and Conquer algorithm. It picks an element as a pivot and partitions the given array around the picked pivot.

*Bucket Sort
Bucket sort is an algorithm mainly used when the input is uniformly distributed over a range.

*Radix Sort
Radix Sort is an algorithm used to do digit by digit sorting starting from least significant digit to most significant digit.

The following topics are covered in this video 👇🏼

0:15 What is sorting
6:42 best case time complexity for insertion sort
10:28 Insertion sort
13:24 Bubble sort
25:29 Selection sort
30:46 Counting sort
38:26 Merge sort
1:00:53 Question 1
1:23:27 Bucket sort
1:27:08 Radix sort

---------------------------------------- About Scaler --------------------------------------------------

We are a tech-focused upskilling and reskilling platform catering to tech enthusiasts in universities and working professionals. There are more Scaler graduates working at Amazon than all of the IITs combined!

📌 Follow us on Social and be a part of an amazing tech community📌

🔔 Hit that bell icon to get notified of all our new videos 🔔

If you liked this video, please don't forget to like and comment. Never miss out on our exclusive videos to help boost your coding career! Subscribe to Scaler now!

#sortingalgorithm #dsalgo #scaler
Рекомендации по теме
Комментарии
Автор

in addition to these videos it would be great if you could tag in some great resource links as this video alone would not be enough

mahatheedandibhotla