Algorithms
Algorithms copied to clipboard
A collection of algorithms and data structures
Closes #416 Adds perfect number algorithm and includes tests.
It involves looping through all the positive divisors of a number (except the number itself) and checking if their sum equals the number itself. If it does, the number is...
Closes #414 This PR adds the Levenshtein distance algorithm and includes tests.
The Levenshtein distance algorithm calculates the minimum number of edits (insertions, deletions, or substitutions) needed to transform one string into another. It utilizes a matrix to store the distances between...
Bumps com.diffplug.spotless from 6.20.0 to 6.25.0. [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a...
Bumps [com.google.guava:guava](https://github.com/google/guava) from 32.1.2-jre to 33.3.1-jre. Release notes Sourced from com.google.guava:guava's releases. 33.3.1 Maven <dependency> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> <version>33.3.1-jre</version> <!-- or, for Android: --> <version>33.3.1-android</version> </dependency> Jar files 33.3.1-jre.jar 33.3.1-android.jar Guava...
Bumps [org.junit.jupiter:junit-jupiter](https://github.com/junit-team/junit5) from 5.10.0 to 5.11.2. Release notes Sourced from org.junit.jupiter:junit-jupiter's releases. JUnit 5.11.2 = Platform 1.11.2 + Jupiter 5.11.2 + Vintage 5.11.2 See Release Notes. Full Changelog: https://github.com/junit-team/junit5/compare/r5.11.1...r5.11.2 JUnit...
Bumps [org.junit.jupiter:junit-jupiter-engine](https://github.com/junit-team/junit5) from 5.10.0 to 5.11.2. Release notes Sourced from org.junit.jupiter:junit-jupiter-engine's releases. JUnit 5.11.2 = Platform 1.11.2 + Jupiter 5.11.2 + Vintage 5.11.2 See Release Notes. Full Changelog: https://github.com/junit-team/junit5/compare/r5.11.1...r5.11.2 JUnit...
Bumps [gradle/wrapper-validation-action](https://github.com/gradle/wrapper-validation-action) from 1 to 3. Release notes Sourced from gradle/wrapper-validation-action's releases. v2.1.3 What's Changed Update various NPM dependencies Update wrapper checksums to include Gradle 8.7 Full Changelog: https://github.com/gradle/wrapper-validation-action/compare/v2.1.2...v2.1.3 v2.1.2...