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

What are Algorithms?

I'm relatively new to programming, and I've come across "algorithms" a couple of times. Could someone please explain what they are and how they're used? Thank you.

22nd Nov 2016, 1:40 AM
Seiko
Seiko - avatar
3 Answers
+ 2
Algorithm is a way to do something in short and effect way(not all algorithm is same fast, but when they are created they were faster than other method at that time). Like add two number 2+2 how you will do this 1: count them on fingers 2: convert them to binary add them than convert back to decimal Above both are algorithm for addition of two numbers(Here i am not adding like I know answer is 4 from my experience in math or I have add many times so that I remember the answer. Remember computer can not get experience). It depend on you which will you take. Algorithm is a path to get desire output.
22nd Nov 2016, 4:32 AM
Aditya kumar pandey
Aditya kumar pandey - avatar
+ 2
this is a step by step way of solving tactical problems
22nd Nov 2016, 1:28 PM
Ben Ntabo
Ben Ntabo - avatar
+ 1
algorithm forget the word in simple lang it means process or step by step set of instructions to do a task for example there is one for calling your friend start-)pick your phone-)if it's in contact saved-)if yes find it and call if no dial it-)talkinit-)end now it does not look like related to program there is one we learnt for finding percentage start-)... we all know now there is one for saving a word document that our applications have been told there start-)... many codes that computer have told there
22nd Nov 2016, 4:23 AM
Sandeep Chatterjee