Skip to content

[pull] master from TheAlgorithms:master #29

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 360 commits into
base: master
Choose a base branch
from

Conversation

pull[bot]
Copy link

@pull pull bot commented Mar 11, 2023

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

@bolt-new-by-stackblitz
Copy link

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@pull pull bot added the ⤵️ pull label Mar 11, 2023
vil02 and others added 30 commits January 17, 2025 22:48
* chore(deps): update rand requirement from 0.8 to 0.9

Updates the requirements on [rand](https://github.com/rust-random/rand) to permit the latest version.
- [Release notes](https://github.com/rust-random/rand/releases)
- [Changelog](https://github.com/rust-random/rand/blob/master/CHANGELOG.md)
- [Commits](rust-random/rand@0.8.0...0.9.0)

---
updated-dependencies:
- dependency-name: rand
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>

* fix: update names from `rand`

* fix: allow duplicated versions of `zerocopy` and `zerocopy-derive`

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: vil02 <[email protected]>
* Added move_to_front_encoding implementation

* Update src/compression/move_to_front.rs

Co-authored-by: Piotr Idzik <[email protected]>

* Removed unnescessary dbg!() and added macros for test_cases

* replaced slices for Vec!

---------

Co-authored-by: Piotr Idzik <[email protected]>
* Improve normalize in karatsuba_multiplication implementation

* Update src/math/karatsuba_multiplication.rs

Co-authored-by: Piotr Idzik <[email protected]>

---------

Co-authored-by: Piotr Idzik <[email protected]>
* Add Euler's totient function implementation - Implements φ(n) using prime factorization method
- Includes comprehensive tests for small numbers, primes, prime powers, and larger values
- All tests pass and follows project naming conventions

* add to DIRECTORY.md

* Add parameterized tests for Euler totient with 100% coverage

* Add parameterized tests for Euler totient with 100% coverage

* Add parameterized tests for Euler totient with 100% coverage

* Add parameterized tests for Euler totient with 100% coverage / after echo

* code syntaxe fixing

* run cargo clippy and cargo fmt

* re-test and make sure branch is up to date

* Update src/number_theory/euler_totient.rs

Co-authored-by: Piotr Idzik <[email protected]>

* Update src/number_theory/euler_totient.rs

Co-authored-by: Piotr Idzik <[email protected]>

* add all remainning cases

* add suggestion and add other cases

* Update euler_totient.rs

Co-authored-by: Piotr Idzik <[email protected]>

* before merge

* re-test

---------

Co-authored-by: Piotr Idzik <[email protected]>
* optimal search binary tree added

* obst link in DIRECTORY.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.