Skip to content

Releases: CodingChallengesBooklet/FactorialFinder

Factorial Finder Complete

22 Jul 03:11
Compare
Choose a tag to compare

Added Rust examples and explanations

As I've began learning the Rust programming language I've decided to start writing these challenges in Rust as well a Python.
Rust is a system's programming language, and so it is interesting to see the difference in code size, and performance between the two languages. Both solutions were almost identical in function size - maybe less so in readability - but the Rust code did require more set up to fetch user input, cast it, and then benchmark the factorial finder functions. In terms of performance, Rust wins by a significant margin, in some cases - at least for calculating relatively small factorials - the benchmark results were 0 microseconds.

The Rust explanation can be found in the Rust/ directory and the code can be found in Rust/src/main.rs.

Full Changelog: v1.0.0...v1.1.0

Factorial Finder Complete in Python

20 Jul 19:56
0ca8dc1
Compare
Choose a tag to compare

Factorial Finder

The first code challenge of the GCSE (9-1) and A Lever Computer Science Coding Challenges Booklet.
This first version contains pseudo code for how to find the Factorials and a Python version.

Full Changelog: https://github.com/CodingChallengesBooklet/FactorialFinder/commits/v1.0.0