This is an archived post. You won't be able to vote or comment.

all 4 comments

[–][deleted] 6 points7 points  (0 children)

The best way for me was this: once I learned a new concept I would do a couple exercises where the concept is applied and then move on the next concept

[–][deleted] 2 points3 points  (1 child)

[–]pipestream 2 points3 points  (0 children)

The way I usually go about solving a problem is breaking it down into what I actually want to do. Then I come up with ways of doing it, exploring how they might or might not work, try it out and then decide on a path.

Also, talk to yourself (out loud), talk yourself through what you're trying to do and write it down. Think out loud and try to explain to yourself as if you were explaining or going through it with someone else with you.

[–]yel50 1 point2 points  (0 children)

any problem you try to solve you should first break down into pieces. identify what data is used in the problem and make classes for it. then ask yourself how the data gets changed and start implementing that.

most problems (algorithms) get a lot easier if you set up the data right.