Sorting Algorithms - 101 Computing https://www.101computing.net Boost Your Programming Skills! Mon, 21 Oct 2024 08:48:24 +0000 en-US hourly 1 https://www.101computing.net/wp/wp-content/uploads/cropped-android-chrome-512x512-1-32x32.png Sorting Algorithms - 101 Computing https://www.101computing.net 32 32 Insertion, Bubble, Merge and Quick Sort Algorithms https://www.101computing.net/insertion-bubble-merge-and-quick-sort-algorithms/ Sat, 20 Nov 2021 20:10:52 +0000 https://www.101computing.net/?p=13001 In computer science, sorting algorithms are used to sort the elements of a data sets in numerical or alphabetical order. In this blog post will investigate the Python code used to implement 4 of the most frequently used sorting algorithms:…

The post Insertion, Bubble, Merge and Quick Sort Algorithms first appeared on 101 Computing.

]]>
Quick Sort Algorithm https://www.101computing.net/quick-sort-algorithm/ Fri, 19 Nov 2021 16:52:38 +0000 https://www.101computing.net/?p=12987 The quick sort algorithm is a divide-and-conquer algorithm that can be implemented using a recursive function. The following graphic explains the different steps of a quick sort algorithm. Note, that the quick sort algorithm starts by identifying a pivot. Depending…

The post Quick Sort Algorithm first appeared on 101 Computing.

]]>
Searching & Sorting Algorithms Practice https://www.101computing.net/searching-sorting-algorithms-practice/ Mon, 23 Nov 2020 21:38:01 +0000 https://www.101computing.net/?p=11431 The searching and sorting algorithms are key algorithms that you will study in computer science. Most computer programs involve some searching and sorting features so these key algorithms are often used when coding various computer programs. Searching and sorting algorithms…

The post Searching & Sorting Algorithms Practice first appeared on 101 Computing.

]]>
Merge Sort Algorithm https://www.101computing.net/merge-sort-algorithm/ Tue, 26 Feb 2019 16:58:30 +0000 https://www.101computing.net/?p=8447 Computers are often used to process large amounts of data. Some of the tasks they can be used for is to sort data sets in order, e.g. numerical order or alphabetical order. Though this may seem like a simple task…

The post Merge Sort Algorithm first appeared on 101 Computing.

]]>
Bubble Sort vs. Insertion Sort https://www.101computing.net/bubble-sort-vs-insertion-sort/ Mon, 25 Feb 2019 22:47:05 +0000 https://www.101computing.net/?p=8431 Computers are often used to sort large amounts of data (e.g. numerical order or alphabetical order). Though this may seem like a simple task to complete, a lot of research has focused on finding the most effective approach to sort…

The post Bubble Sort vs. Insertion Sort first appeared on 101 Computing.

]]>
Insertion Sort Algorithm https://www.101computing.net/insertion-sort-algorithm/ Sat, 16 Dec 2017 17:31:26 +0000 http://www.101computing.net/?p=5697 The Insertion sort algorithm is one of the key sorting algorithms used in Computer Science. To start with, the algorithm considers the first value of a list as a sorted sub-list (of one value to start with). This iterative algorithm…

The post Insertion Sort Algorithm first appeared on 101 Computing.

]]>
Bubble Sort Algorithm https://www.101computing.net/bubble-sort-algorithm/ Sat, 16 Dec 2017 16:52:17 +0000 http://www.101computing.net/?p=5692 The Bubble sort algorithm is one of the key sorting algorithms used in Computer Science. It is a fairly simple algorithm to implement and is particularly useful when you need to find the top x values of a list. The…

The post Bubble Sort Algorithm first appeared on 101 Computing.

]]>
Sorting Algorithms https://www.101computing.net/sorting-algorithms/ Fri, 03 Mar 2017 14:32:38 +0000 http://www.101computing.net/?p=4127 Computers are often used to process large amounts of data. Some of the tasks they can be used for is to sort data sets in order, e.g. numerical order or alphabetical order. Though this may seem like a simple task…

The post Sorting Algorithms first appeared on 101 Computing.

]]>