How Do You Make An Algorithm?

How Do You Make An Algorithm?

1 Answer

  1. Alright so let’s assume that you have a problem and you need to create an algorithm for it so as to find a solution. Firstly, you need to understand the problem in depth, its not a cakewalk to do this. When finding a description of the problem, you may face many defects as the description relies on unstated assumptions, the description can be ambiguous and the description could be incomplete. Once you get the description, you shall get to its analysis. You need to work on the source of data, its availability, the rules that exist on working with that data etc. Then get to developing of the algorithm, start with development of high level algorithm, which implies that it should not just have some steps but also the underlined details. Once when you are done with the preparation of your high level data, you shall start working on refining the algorithm. You may follow Stepwise refinement, which is a process for developing a detailed algorithm by gradually adding detail to a high-level algorithm. The final step is to review the algorithm. Firstly see and determine whether or not it will solve the original problem and if you are satisfied with it then you may look for other things as well.

    • 0

Leave an answer

You must login to add an answer.