Algorithms for beginners? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Algorithms for beginners?

When thinking about coding, one of the first thing comes to my mind is algorithms. Does algorithms help a lot to build a complex code? Can algorithms help me as a beginner? Should I start learning algorithms from now?

5th Oct 2019, 1:33 PM
Ishmam
Ishmam - avatar
1 Answer
+ 7
IFarhan It's impossible to write code without algorithm. Don't think that only if written on paper we call it algorithm Algorithm is basically set of steps that you need to follow for solving any task. No matter how easy your program is algorithm is important. For instance, suppose you are writing a program to calculate sum of 2 numbers. You'll first think what you need.... first comes declaring variables then accepting input for variables and then adding them and then... displaying result. So here if you add variables before taking input what will be result? Depends on language but it'll not be what you expected. That's where algorithm is helpful. Knowing generally used algorithms and being able to develop new ones according to problem present is equally important as knowing syntax of language In brief, yes you should try learn algorithms from beginning it'll help you a lot.You'll understand practical importance of things you are learning. You can practice syntax of language while implementing algos
5th Oct 2019, 1:48 PM
🇮🇳Omkar🕉
🇮🇳Omkar🕉 - avatar