An algorithm is a step-by-step procedure or a set of rules designed to perform a specific task or solve a particular problem. It provides a systematic method to follow in order to achieve the desired outcome. Example of an Algorithm: Let say we have to find the shortest path from a starting point to end point with so many different path connecting both ends, here we use something called dijskstra algorithm to find the shortest path between two path
- Understand the Problem
- Plan the Algorithm
- Design the Algorithm
- Choose Data Structures