Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Udemy

Searching and Sorting Algorithms

via Udemy

Overview

Visualize Searching and Sorting Algorithms and Implement them in C++

What you'll learn:
  • Searching and Sorting Algorithms

Hey there! In this course on searching and sorting algorithms. We will be visualising the workflow of the algorithms and understanding the hang of them. We will implement what we have understood in Cpp Programming. We will compare and contrast each algorithm in terms of time, space, adaptability and stability.

The searching algorithms that we will be studying in this course are

1. Linear Search

2. Binary Search - Both Recursive and Iterative

3. Jump Search.


The sorting algorithms what we will be looking in this course are:

1. Bubble Sort

2. Selection Sort

3. Merge Sort

4. Quick Sort

5. Count Sort

6. Bucket Sort

7. Radix Sort

8. Insertion Sort


You'll be able to understand the typical use cases, workflow, time complexity, implementation of each and every algorithm.

A sorting algorithm is an algorithm that puts elements of a list in a certain order. The most frequently used orders are numerical order and lexicographical order. Efficient sorting is important for optimizing the efficiency of other algorithms (such as search and merge algorithms) that require input data to be in sorted lists. Sorting is also often useful for canonicalizing data and for producing human-readable output. More formally, the output of any sorting algorithm must satisfy two conditions:

  1. The output is in nondecreasing order (each element is no smaller than the previous element according to the desired total order);

  2. The output is a permutation (a reordering, yet retaining all of the original elements) of the input.

For optimum efficiency, the input data in fast memory should be stored in a data structure which allows random access rather than one that allows only sequential access

Taught by

Sujithkumar MA

Reviews

4.3 rating at Udemy based on 57 ratings

Start your review of Searching and Sorting Algorithms

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.