simple_algorithms 0.1.0
simple_algorithms: ^0.1.0 copied to clipboard
A collection of simple and common algorithms implemented in Dart.
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.1.0 - 2025-07-18 #
Added #
- Introduced
FactorialCalculatormodule for standard factorial, double factorial, rising factorial, and falling factorial calculations. - Added
NumberTheoryUtilsmodule for Greatest Common Divisor (GCD) and Least Common Multiple (LCM) calculations. - Implemented
TemperatureConvertermodule for conversions between Celsius, Fahrenheit, and Kelvin.
Fixed #
- RomanConversion: Corrected a critical bug in
toRomanNumeralwhere_decimalValues[i]was incorrectly used instead of_romanSymbols[i]when appending the Roman symbol to the result.
Breaking Changes #
- Method names and parameters have been updated across
CaesarCipher,Fibonacci,Palindrome,PrimeNumber, andRomanConversionclasses for improved semantic clarity and consistency. Users upgrading from0.0.1will need to update their calls to these methods.
0.0.1 - 2025-07-17 #
Added #
- Initial release of the
simple_algorithmspackage. - Implemented
CaesarCipherwith encryption and decryption. - Implemented
Fibonacciwith sequence generation and Nth number calculation. - Implemented
Palindromechecker for strings and numbers. - Implemented
PrimeNumberchecker and sequence generator (Sieve of Eratosthenes). - Implemented
RomanConversionfor decimal to Roman and Roman to decimal conversions.