Algorithm

Greedy Algorithm | Fractional Knapsack Problem With Solution

What is Greedy Method Before discussing the Fractional Knapsack, we talk a bit about the Greedy Algorithm. Here is our main question is when we can solve a problem with Greedy Method?  Each problem has some common characteristic, as like the greedy method has too. Such as if a problem contains those following characteristic , then we can …

Greedy Algorithm | Fractional Knapsack Problem With Solution Read More »

What is an Algorithm?

An algorithm is a process or set of rules that how do you solve a problem. This can be a simple process, such as multiplying two numbers, or a complex operation, such as playing a compressed video file. In computer programming, algorithms are often created as a function. Algorithms are used for calculation, data processing, and automated reasoning