+ 1
How to build logic?
7 Respuestas
+ 9
Revanya ,
to get familiar with coding in terms of building the logic, structure and coding, it is recommended to pick a tutorial and start working on it.
it is also important to practice what we have learned.
if you get stuck somewhere, repeat the last lessons of the tutorial. keep on learning and practicing frequently.
the process of learning in general takes some time and effort, so please be patient.
if you get stuck on a specific issue, post a question with all related details that we required to know.
+ 6
Maybe you should first analyze other peoples code. There is a search function in the code section. find some codes that treat eg faculty (which is a bit hard for beginner, if recursion is used). Try to understand it and try to code the same prog by heart.
Understanding follows doing.
+ 5
Become familiar with data structures, algorithms, and design patterns. Understand how the hardware works at a fundamental level.
The major blocker at your level isn't a lack of logic but a lack of exposure to patterns you can identify and implement. I.e. You won't know you need an observable and subscriber in a project until you know what they are; it won't be obvious when to use a breadth first search if you don't know the algorithm.
+ 4
Revanya just think about the logic behind the program which solve factorials, think how to make that code what type of loop,var, function you will need to make such program, you have a great thinking capability so now just focus on skills
+ 3
Practice as much as you can. Try pattern printing programs specially
+ 2
what do you mean by "How to build logic"?
check out this thread for better understanding of sl O&A Discussions.
https://www.sololearn.com/Discuss/3021159/?ref=app
+ 2
Actually I unable to solve factorial on my own.. So how could I develop my thinking capability