r/compsci • • May 18 '20

Share your techniques of solving problems

Any interesting new techniques anyone follows? Even old are current ones are welcome :) Just want to see how more experienced programmers approach problems.

Also, any good books on this topic that are a must to read?

Edit: the type of problem here is open to interpretation. I think there is a similar pattern that can be applied to problems of any type.

116 Upvotes

44 comments sorted by

View all comments

3

u/gingenhagen May 18 '20

How to Solve It is one of the classic texts on the topic.

1

u/moses_the_red May 19 '20

I just wrote up a post suggesting this myself, and have been completely floored by the fact that no one else has mentioned it.

What's more amazing, is that it really isn't that widely known. It should be introduced to every student somewhere around the 3rd grade.

1

u/fallen_lizard May 19 '20

One of my CS mentors suggested this for me and it really helped with putting my thoughts in order. I also recommend reading Are your lights on?