Effective way to solve any programming problem
The effective way to learn and write any program is to follow as
- Depend upon passion and love toward programming.
- Make an account on a "leetcode" like platform which provides the facility to write code for a new problem
- Think about how the problem can be solved if you solve the problem.
- Write its algorithm on paper.
- Convert the algorithm into code and dry run it on paper on different test cases whether it gives the true desired answer or not.
- Write paper code on IDE.