Read Problem Solving first for better Understanding.
Intro to Algorithms
There is usually more than one way to solve a problem. At this stage, each way to solve the problem is broken down into logical steps. This is called an Algorithm that can then be represented in the form of a flowchart.
Algorithms are step-by-step instructions to solve a problem or to perform a computation, created along with rules that decide which path to take when a decision is faced.
Algorithms are a standard requirement for problem-solving and are used to solve various problems.
Simple algorithms can solve complex problems too based on logic, sequencing, repetition and writing down the conditions or rules applicable.
Lets Consider a problem :
The order in which the instructions have to be carried out will be as follows:
1. Find out the available sports teams and their entry criteria
2. Then find out the best team for you