# Programming Practice and Challenges

I've been missing the computer challenges on brilliant, so I went looking for some other resources. I would highly recommend Codecademy, especially for those who only know a little programming or want to learn some new languages. If you're looking specifically for Python challenges, I've been enjoying Python Challenge.

Do any of you have recommendations of other sites to sharpen or expand programming skills?

Note by Eric Edwards
6 years, 6 months ago

This discussion board is a place to discuss our Daily Challenges and the math and science related to those challenges. Explanations are more than just a solution — they should explain the steps and thinking strategies that you used to obtain the solution. Comments should further the discussion of math and science.

When posting on Brilliant:

• Use the emojis to react to an explanation, whether you're congratulating a job well done , or just really confused .
• Ask specific questions about the challenge or the steps in somebody's explanation. Well-posed questions can add a lot to the discussion, but posting "I don't understand!" doesn't help anyone.
• Try to contribute something new to the discussion, whether it is an extension, generalization or other idea related to the challenge.

MarkdownAppears as
*italics* or _italics_ italics
**bold** or __bold__ bold
- bulleted- list
• bulleted
• list
1. numbered2. list
1. numbered
2. list
Note: you must add a full line of space before and after lists for them to show up correctly
paragraph 1paragraph 2

paragraph 1

paragraph 2

[example link](https://brilliant.org)example link
> This is a quote
This is a quote
    # I indented these lines
# 4 spaces, and now they show
# up as a code block.

print "hello world"
# I indented these lines
# 4 spaces, and now they show
# up as a code block.

print "hello world"
MathAppears as
Remember to wrap math in $$ ... $$ or $ ... $ to ensure proper formatting.
2 \times 3 $2 \times 3$
2^{34} $2^{34}$
a_{i-1} $a_{i-1}$
\frac{2}{3} $\frac{2}{3}$
\sqrt{2} $\sqrt{2}$
\sum_{i=1}^3 $\sum_{i=1}^3$
\sin \theta $\sin \theta$
\boxed{123} $\boxed{123}$

Sort by:

Project Euler has been mentioned here a few times in the past; another website that I think contains some nontrivial challenges is CodeEval. I myself am also very curious about your question, so I hope others will contribute more links.

Staff - 6 years, 6 months ago

Project Euler is very Powerful! Definitely start there, if you want to practice some number theory while you are at it I have seen the first 25 problems (out of like 600) solved by hand. Plus after you find a solution you can look at others more concise solutions.

- 6 years, 6 months ago

I tried CodeEval, but it says that my submission fails. When I try the test cases though, it works perfectly. It doesn't give me any feedback on what went wrong, though, which is a shame.

- 6 years, 6 months ago

There is good feedback actually, once you find it. It always says "submitted successfully" unless your file has a file extension it doesn't know about. Click the link named "score". There you see whether it failed or not. If it failed, click on the revision number in the first column, and you see what the output from the program was, including error messages from the compiling/parsing/run time system.

- 6 years, 6 months ago

That's in fact exactly what I did, but after I click the revision number, I don't see the output and error messages, but I just see two tabs: Raw (my code) and Stdio (empty). Any idea what I'm doing wrong? Also, do you know whether using print() is the right way to output when using Python?

- 6 years, 6 months ago

Nevermind. I forgot to uncomment the whole thing -.- That was pretty dumb. Thanks for your help.

- 6 years, 6 months ago

Weekly algorithm contests in C++/Java/C#/Python, and ability to practice on previous challenges with lots of very good tutorials:

Topcoder

Online judges with lots of problems:

SPOJ

POJ

And, of course, USACO that holds monthly contests starting November to select the 4 high school students that represent USA in the International Olympiad of Informatics, the next Summer. It also has a system with tutorials and programming challenges that you have to overcome one level at a time to learn and face more difficult challenges.

And I was almost forgetting:

There are two multi-round yearly algorithm contests that are for everyone to participate hosted by Google and Facebook:

Google Code Jam usually starts around April and Facebook Hacker Cup in January. Additionally, you can see all previous problems for GCJ and test your solutions.

- 6 years, 6 months ago

I will recommend following:

Highly recommended

Codechef

IBM

Techgig

Project Euler

Recommended

Codeeval

Greplin

UVA

Codeforces

- 6 years, 6 months ago

USACO -> the USAMO of c.s.

- 6 years, 6 months ago

Programming Praxis is a good one.

- 6 years, 6 months ago

jan;s LightOJ is also very good

- 6 years, 6 months ago

I have some recommended for you:

List, on the Wikipedia :)

- 6 years, 6 months ago

Love that site! A great place for people who really love math, and Computer Science!

- 6 years, 6 months ago