How Do you figure out an algorithm?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

How Do you figure out an algorithm??

How do you find procedure to complete your program? If you write something, kindly share a picture. Thanks

17th Oct 2017, 8:11 AM
Meharban Singh
Meharban Singh - avatar
4 Answers
+ 8
I try to solve a programming problem mostly on pen and paper. I divide the whole task into subtasks and try to complete it using loops, ifs, switch, continue and break etc. I draw tables etc. and visualise the memory allocation and slowly tend to reach my goal.
17th Oct 2017, 11:12 AM
Lakshay
Lakshay - avatar
+ 11
if your program is using a database, then you work with UML. for the rest it's just free thinking (you get used to it with practice). ps: also, i don't like coffee. i prefer Tea.
17th Oct 2017, 10:43 AM
OUMAS Abdellah
OUMAS Abdellah - avatar
+ 5
coffee*
17th Oct 2017, 8:21 AM
Meharban Singh
Meharban Singh - avatar
+ 3
Coffee, definitely!
17th Oct 2017, 9:47 AM
stn
stn - avatar