Project Euler

Early this year, I read and was inspired by this post:

Introducing The #ProjectEuler100 Challenge: the “Dark Souls” of Coding Achievements
People often ask me “how can I get into competitive programming?” My answer has always been simple: practice as many algorithm and data structuresproblems as you can. But today, I have something more concrete for you. A challenge that will expandyour computer science and math knowledge – all whi…

According to its official website:

Project Euler is a series of challenging mathematical/computer programming problems that will require more than just mathematical insights to solve. Although mathematics will help you arrive at elegant and efficient methods, the use of a computer and programming skills will be required to solve most problems.

I decided to take on the challenge of Project Euler as an opportunity to learn and get familiar with new programming languages.

As in the aforementioned article, my goal will also be to finish the first 100 problems using Rust and Python – at least. However, I'd also love to eventually solve them in other languages, such as Lua and Haskell. If possible, I'll also try to solve them in C++ since it's my tool of trade and might serve as a common point of comparison between all other solutions.

Aside from solving the problems, I will also work on two additional features:

  • Unit testing: Every solution and intermediary/auxiliary code will be verifiable for correctness.
  • Benchmarking: I'm very curious about how the different languages will perform when compared to other. And even more, how alternate solutions for a given language can result in different performances.

I'll be uploading my solutions to GitHub:

Project Euler solutions. Contribute to christianchomiak/project-euler development by creating an account on GitHub.