In this article, we will learn Selection Sort - a simple and easy-to-implement comparison algorithm, which serves as a basis for some of the most widely-used sorting algorithms, such as...Read more
Insertion sort is a simple sorting algorithm that builds the final sorted array one item at a time. It works best for small or almost sorted records and is not efficient for the larger or unsorted ones...Read more
Merge sort is an efficient sorting algorithm that was invented by John von Neumann in 1945. It follows the "divide-and-conquer" approach and works by dividing the unsorted list by (n) sublists, each containing one element...Read more
Quick Sort is one of the most popular sorting algorithms developed by the British computer scientist Tony Hoare in 1959 and published in 1961. If implemented well, it can be about two to three times faster than its main competitors...Read more
Sorting a list is one of the most common problems most programmers face. If you know many ways to perform a sorting operation, you can choose the best and most efficient one. In this article we will learn more about Bubble Sort and why it might be an inefficient choice...Read more
The search is fundamental for every programming language. Having a lot of data structures without the ability to search through them sounds like a waste of time. There are many ways to perform a search operation, some are slower, others faster...Read more
A linked list is the linear collection of data whose order is not given by their physical placement in memory (unlike array). Instead, each element contains a reference to the next one...Read more
Today we will learn how to update (nested) Arrays/Objects in an immutable way. This is a must-know, especially if you create your projects in React using the Redux library, so prepare well and let's get started...Read more
Immutability is one of the core principles of functional programming. It has been around for a long time, but has recently evolved into the JavaScript community. To understand it better, let's first find out what is mutability and why it should be avoided...Read more