Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/amtoine/project-euler

Some of my attempts at the online Project Euler.
https://github.com/amtoine/project-euler

event maths programming

Last synced: about 2 months ago
JSON representation

Some of my attempts at the online Project Euler.

Awesome Lists containing this project

README

        

# project-euler

My solutions for the challenges of the [Project Euler](https://projecteuler.net)

Some additional resources can be found in [`res/`](res).

## the solutions
- `python` solutions are available in [`python/`](python)

### generate language `README`s
one can run the following in `nushell`
```nushell
let language = "..."

ls $language
| where name =~ \d
| select name
| upsert file {|it|
let file = ($it.name | parse "python/{name}" | get name.0)
$"[($file)]\(($file)\)"
}
| upsert id {|it|
$it.name | parse "python/{id}.py" | get id.0 | into int
}
| upsert problem {|it|
$"https://projecteuler.net/problem=($it.id)"
}
| reject name id
| to md --pretty
| save --force ($language | path join README.md)
```