What are algorithms ???? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

What are algorithms ????

13th Feb 2018, 4:06 AM
Justin D'souza
Justin D'souza - avatar
5 Answers
+ 9
The algorithm in coding is a clear and accurate sequence of actions written in the programming language.
13th Feb 2018, 4:16 AM
Vitaliy Angelov (Rostov-on-Don)
Vitaliy Angelov (Rostov-on-Don) - avatar
+ 9
Algorithms are not just limited to programming. Your brain processes algorithms every day. If you decided to teach someone to do something, you would list a sequence of actions they needed to execute to complete that task. You go through that same sequence every time you perform the task. Sure there are things that order doesn't matter at all and the same can be said for a program. There are many different sequences that result in the same finished product and there are sequences that can only be done one way. The food must be on the fork before it goes into your mouth. But, the methods of getting the food on that fork are many.
13th Feb 2018, 5:04 AM
John Wells
John Wells - avatar
+ 2
An algorithm is simply a way to solve a problem. The "way" you do it is relative to its scope/environment. e.g. Math uses letters, numbers, & symbols amongst its set of rules. [Computer] Programming uses computers, languages, & fingers :-P The algorithm of the color blue = red + green. Pick a problem & find its solution. Side note. Watch the movie The Traveling Salesman. :-)
13th Feb 2018, 5:52 AM
Ammon Miranda
0
A sequence of actions that can be translated to any programming language and that performs a specific task (such as sorting an array).
13th Feb 2018, 5:03 AM
Vlad Serbu
Vlad Serbu - avatar