Cody
Cody

Reputation: 159

coding exercise with example solutions

I'm looking for coding exercises that have solutions. I've checked out topcoder and codekata but neither seem to have user posted solutions (maybe I just can't find them?).

Basically I can (try) to figure out how I would solve a problem but what I want is to learn and expand my knowledge by see how other (better) coders would solve the same thing.

Upvotes: 1

Views: 5961

Answers (2)

Eliseo Ocampos
Eliseo Ocampos

Reputation: 2523

In TopCoder you can find the solutions in Competitions > Algorithms > Statistics > Match Archive, there you select a match and statistics will be displayed. After that by clicking "[*]" at the left side of the handle name, you will be lead to the solutions submitted by that coder.

Upvotes: 2

user120587
user120587

Reputation:

ProjectEuler has some good fairly good problems that lend themselves easily to a coded solution. There is no site supported help system, but simple google searches with the number of the problem you are working on normally has good results.

Once you solve the problem, you then have access to the site solution and a forum posting that shows other users' solutions so you can learn from them, (If you solve it first).

Upvotes: 5

Related Questions