Trending

Greedy Algorithms

An algorithm is designed to find the best solution to a given problem. The greedy algorithm approach makes decisions based on the given solution domain. As a greedy person, the closest solution that appears to provide the best solution is chosen. Greedy algorithms seek a locally optimised solution, which may eventually lead to globally optimised …

Greedy Algorithms Read More »

Asymptotic Analysis

An algorithm’s asymptotic analysis refers to defining the mathematical boundation/framing of its run-time performance. We can very well conclude the best-case, average-case, and worst-case scenarios of an algorithm using asymptotic analysis. Asymptotic analysis is input bound, which means that if the algorithm receives no input, it is assumed to work in a constant time. Except …

Asymptotic Analysis Read More »

Algorithms

An algorithm is a step-by-step procedure that defines a set of instructions that must be executed in a specific order to produce the desired result. Algorithms are generally developed independently of underlying languages, which means that an algorithm can be implemented in more than one programming language. The following are some important categories of algorithms …

Algorithms Read More »