Skip to content

klang/ProjectEuler

Repository files navigation

My solutions for problems on ProjectEuler.

Intending to learn Clojure as the main goal .. but slowly, Clojure is becomming a tool for learning a lot about discrete math.

Finding the answers is as easy as using Google, there is no fun in that. 

Deducting the answers by yourself based on the math section on wikipedia or the comprehensive texts available on Wolfram and other math sites is much more challenging.

Most of the source show the process I went through to solve the problem at hand. Comments showing my frustration at times may occur :-)

To run everything, simply

    lein repl
    all=> (time (run-tests))

I have stepped on the 'time' function, so gives some additional output.

    all=> (peuler)

and

    all=> (seuler)

Will run the `euler/solved` problems in parallel and sequence. The parallel version is about twice as fast as the sequencial one.

(only the execution of the problems will be done in parallel, not the problems themselves)

About

.. making a point of solving the problems in Clojure. (120)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published