r/AskComputerScience • • Jul 03 '19

How to become proficient in solving programming problems?

I know the syntax of the programming language but can not solve the basic problems but am able to understand the solutions.

28 Upvotes

10 comments sorted by

View all comments

5

u/chaotic_neutralrogue Jul 03 '19

This is what I do:

First of all, plan what your program needs to do, or what you need to solve. The big concept. Now, think of the easiest, most basic you can achieve this. If it needs to do various things, separate them and break them down.

Once you've done this basic skeleton of your program, think of small details that can improve certain sections of your program. Go slowly, making small, basic changes. By repeating this, you fill in the small blanks that you may have. Remember to test everything you do. Also remember, the simpler, the better (that, at least, is my golden rule and most important priority)