0

What do i need to learn to understand how to solve coding problems like the one's on this app

I completed the c++ course and i'm half way to javascript.I learned how to make for loops ,arrays,classes ,all of that but i dont undrestand how to solve problems.What do i need to learn and can you a course on that?

22nd Mar 2020, 12:18 PM
Andrei I
Andrei I - avatar
2 odpowiedzi
+ 1
Try practicing small problems first to get an idea for each function can be helpful. Then go for bigger problems. To solve a problem, follow these steps: 1. Analyse the problem: Understand what is the problem and what should be the result. 2. Decide the steps: Think of the steps which you can use to solve the problem. Like whether you should use loops or if conditions or arrays. It may take from 5 minutes to 30 minutes or more 3. Code it!: Start coding!
22nd Mar 2020, 12:29 PM
Taranjeet
Taranjeet - avatar
0
You need two things to solve coding problems: 1. Analytical thinking 2. Proper knowledge about syntax Now don't get startled by all of these. You need to understand the question properly if you are going to be able to answer it. Think about how you will be able to find the result or what are the possible ways to solve the problem in real life. Then try to implement these ways to your code. Proper knowledge about the syntax of the specific language is very necessary. You may get errors but try again. If you still have problems, consult other's help. Think how loops, arrays, classes (things you have learned) will help you to solve the problem. Start with the small and easy questions, then work your way up. You should be able to solve many coding problems in no time.
22nd Mar 2020, 12:37 PM
Ahnaf
Ahnaf - avatar