Sites for some practice programming

scottdave
Science Advisor
Homework Helper
Insights Author
Messages
2,009
Reaction score
988
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
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

Similar threads

  • · Replies 10 ·
Replies
10
Views
2K
Replies
6
Views
4K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 10 ·
Replies
10
Views
6K
Replies
38
Views
6K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K