Sites for some practice programming

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
3 replies · 2K views
This is not a question, but a note, which I thought could help students.

I thought I would share this here, as people may be looking for practice problems.

My professor in the Python course I just finished recommended https://projecteuler.net/ as a site to practice using programming skills. There are some nice problems which usually involve some mathematical thinking, and then possibly using some program to perform the computations.

http://rosalind.info/problems/locations/ starts out with some easy problems, designed to be solved with Python, and then gets more difficult with some Bioinformatics related problems. Here is a Wikipedia article about bioinformatics, in case you don't know what that is.

On the Rosalind.info problems that I've gone through so far, they give sample code solutions to the problems.
 
  • Like
Likes   Reactions: WWGD, JD_PM, magoo and 1 other person
Physics news on Phys.org
In Rosalind, the data can change for each attempt. On each attempt, you get 5 minutes to submit a solution.

So you get to see the solution code after you have successfully submitted a correct answer. But there is a question section where people can ask clarifying questions or possibly get some general hints on what direction to go in. It looks like some fun practice.
 
  • Like
Likes   Reactions: magoo
scottdave said:
My professor in the Python course I just finished recommended https://projecteuler.net/ as a site to practice using programming skills. There are some nice problems which usually involve some mathematical thinking, and then possibly using some program to perform the computations.
Project Euler has brainstorming problems. While doing the programs, complexity has to be kept in mind. Sometimes time complexity becomes so large that the program might take hours to run.
 
  • Like
Likes   Reactions: scottdave
Yes some of the problems in Project Euler would run for extremely long times, unless a mathematical technique can be used to make computations quicker or shorter.
I recently started practicing in https://www.codewars.com which I'm enjoying. I like that each problem is designed for perhaps multiple programming languages, so I can choose to solve it in different languages. Currently I'm trying to improve my skills in R, so I'm looking for those. I also want to improve my Python. Many of the problems need to be thought through for proper approach before just 'coding away'.
 
  • Like
Likes   Reactions: Wrichik Basu