Several interesting and difficult programming websites are recommended

Source: Internet
Author: User


Several interesting and difficult programming websites are recommended

Author: Lai Yonghao (http://blog.csdn.net/lanphaday)

After a long time in the community, many new friends always asked, "I learned XX language, how can I go deep (or what can I do with it )?" Today, I recommend several interesting and difficult programming websites. They not only increase your understanding of language features, but also stimulate your interest in mathematics, algorithms, and other basic disciplines, some can even make money and help you find a job!


This is the first type of website to be recommended.
Project Euler, whose address is http://projecteuler.net /. It now has more than two hundred questions, and almost one or two new questions are coming out every week. The previous questions will be relatively simple and then more and more difficult. To play on this website, you must have a good grasp of both mathematics and programming skills. Fortunately, this website does not look at the process, but only the results, so you can use your most familiar programming language to solve the problem. However, it advocates a well-known one-minute principle, that is, "a program that solves a certain problem should not run for more than one minute on a mainstream PC ". It is also commendable that, if the code you write is awesome, the Forum is a great place to show off your gorgeous code. On the other hand, the Forum will allow you to learn a lot of language features, skills, and algorithms, and the most important mathematics.

Let's take a look at the first question of Project Euler:

If we list all the natural numbers below 10
That are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples
Is 23. Find the sum of all the multiples of 3 or 5 below 1000.

Its solution is written in Python:

Print sum (I for I in xrange (1, 1000) If I %
3 = 0 or I % 5 = 0)

How about, envy Python's conciseness?


As a pythoner, for fun programming websites, pythonchallenge.com (http://www.pythonchallenge.com/) is not to be missed. In the words of Shen Peng (http://blog.163.com/eishn/), its function is: two new colleagues in our department, before using python for a project, let down for two weeks of Python
Challenge has completely modeled python. As a result, two weeks later, the program was quite beautiful, and I even fell short of a veteran Python programmer, my colleagues around me immediately had a distinction in the realm.

This website not only tests your knowledge in mathematics and algorithms, but also requires a relatively high IQ. However, the most important thing is that you need a powerful language like python. Have you seen the picture above? It is the first question of pythonchallenge. In short, it is to ask you to calculate power 38 of 2. To solve this problem, Python only needs a line of code with 5 characters. If you use C/C ++, haha ......


Another interesting website is code golf (http://codegolf.com/), which has different directions and advocates short code. Those who are determined to write a Windows program in a row certainly have to look at it. But when it comes to short code, Perl may be really advantageous. This website accepts PHP, Python, and Ruby. Maybe it is more suitable for network programmers? In any case, this is another platform that can show off your programming skills. It is worth looking.


Well, you're not interested in anything that just challenges IQ, and you want to get some substantial benefits, such as money, experience or job opportunities, that topcoder.com (http://www.topcoder.com/) will definitely be right for you! Algorithm geeks both in China and abroad like to go to the topcoder competition because it is not only difficult, but also has rich prizes. If you are still a student, playing SRM is the most exciting thing. If you have a job to be busy during the day, you can play marathon for a week or two weeks, it's great to try continuous optimization pleasure! I know this kind of website only after I graduated from college, and occasionally I will play marathon, but I have no energy for more than a year, I really want to return to the student age and enjoy the challenges brought by topcoder.

Another advantage of topcoder is that it not only supports C ++, Java, Python and other languages, but also supports Microsoft languages such as VB.net and C #, which is the most popular. Its Chinese site address is http://www.topcoderchina.com /. But it seems a little deserted for a long time. I don't know what the hot girl Vice President Wu Yingying is doing now?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.