Grasseh / ProjectEuler

Personal solutions to Project Euler problems

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Project Euler Solutions

By Steve Gagné

Introduction

This repository contains my personal solutions to Project Euler problems. Thus, these may not be the most efficient algorithms, but they usually provide the right answers.

Missing problems

At a first glance, it is easy to notice that there are no solutions to problems 1 to 12. That is because the algorithms I wrote for those were not saved, back when I solved them. I might go back and solve them again, one day...

Instructions

Every file needed to get a solution running is included in the repository. To view a specific solution to a problem, go to the program.cs class and change the problem number on the following line:

Console.WriteLine(Problem18.Solve());

Every problem has a static, public function called Solve, which returns a string, that can easily get output in the console.

Objective

The point of this repository is to show my solutions to each problem. This way, people can compare theirs and see how they, or I can improve each solution. It is suggested not to use these to solve the problems first, as it ruins the fun of finding the solutions.

About

Personal solutions to Project Euler problems


Languages

Language:C# 100.0%