From 56b72da9fb234213ce7cf32b789de2916006939f Mon Sep 17 00:00:00 2001 From: Defective Detective <71999854+SpiderMath@users.noreply.github.com> Date: Thu, 22 Dec 2022 22:56:50 +0530 Subject: [PATCH] chore: move various `misc` folder... (#1177) ...algorithms to the `math` folder. Co-authored-by: David Leal --- {misc => math}/armstrong_number.c | 0 {misc => math}/cantor_set.c | 0 {misc => math}/cartesian_to_polar.c | 0 {misc => math}/catalan.c | 0 {misc => math}/collatz.c | 0 {misc => math}/factorial.c | 0 {misc => math}/factorial_large_number.c | 0 {misc => math}/factorial_trailing_zeroes.c | 0 {misc => math}/fibonacci.c | 0 {misc => math}/fibonacci_dp.c | 0 {misc => math}/fibonacci_fast.c | 0 {misc => math}/fibonacci_formula.c | 0 {misc => math}/gcd.c | 0 {misc => math}/is_armstrong.c | 0 {misc => math}/large_factorials.c | 0 {misc => math}/lcm.c | 0 {misc => math}/lerp.c | 0 {misc => math}/palindrome.c | 0 {misc => math}/prime.c | 0 {misc => math}/prime_factoriziation.c | 0 misc/prime_seive.c => math/prime_sieve.c | 2 +- {misc => math}/strong_number.c | 0 22 files changed, 1 insertion(+), 1 deletion(-) rename {misc => math}/armstrong_number.c (100%) rename {misc => math}/cantor_set.c (100%) rename {misc => math}/cartesian_to_polar.c (100%) rename {misc => math}/catalan.c (100%) rename {misc => math}/collatz.c (100%) rename {misc => math}/factorial.c (100%) rename {misc => math}/factorial_large_number.c (100%) rename {misc => math}/factorial_trailing_zeroes.c (100%) rename {misc => math}/fibonacci.c (100%) rename {misc => math}/fibonacci_dp.c (100%) rename {misc => math}/fibonacci_fast.c (100%) rename {misc => math}/fibonacci_formula.c (100%) rename {misc => math}/gcd.c (100%) rename {misc => math}/is_armstrong.c (100%) rename {misc => math}/large_factorials.c (100%) rename {misc => math}/lcm.c (100%) rename {misc => math}/lerp.c (100%) rename {misc => math}/palindrome.c (100%) rename {misc => math}/prime.c (100%) rename {misc => math}/prime_factoriziation.c (100%) rename misc/prime_seive.c => math/prime_sieve.c (96%) rename {misc => math}/strong_number.c (100%) diff --git a/misc/armstrong_number.c b/math/armstrong_number.c similarity index 100% rename from misc/armstrong_number.c rename to math/armstrong_number.c diff --git a/misc/cantor_set.c b/math/cantor_set.c similarity index 100% rename from misc/cantor_set.c rename to math/cantor_set.c diff --git a/misc/cartesian_to_polar.c b/math/cartesian_to_polar.c similarity index 100% rename from misc/cartesian_to_polar.c rename to math/cartesian_to_polar.c diff --git a/misc/catalan.c b/math/catalan.c similarity index 100% rename from misc/catalan.c rename to math/catalan.c diff --git a/misc/collatz.c b/math/collatz.c similarity index 100% rename from misc/collatz.c rename to math/collatz.c diff --git a/misc/factorial.c b/math/factorial.c similarity index 100% rename from misc/factorial.c rename to math/factorial.c diff --git a/misc/factorial_large_number.c b/math/factorial_large_number.c similarity index 100% rename from misc/factorial_large_number.c rename to math/factorial_large_number.c diff --git a/misc/factorial_trailing_zeroes.c b/math/factorial_trailing_zeroes.c similarity index 100% rename from misc/factorial_trailing_zeroes.c rename to math/factorial_trailing_zeroes.c diff --git a/misc/fibonacci.c b/math/fibonacci.c similarity index 100% rename from misc/fibonacci.c rename to math/fibonacci.c diff --git a/misc/fibonacci_dp.c b/math/fibonacci_dp.c similarity index 100% rename from misc/fibonacci_dp.c rename to math/fibonacci_dp.c diff --git a/misc/fibonacci_fast.c b/math/fibonacci_fast.c similarity index 100% rename from misc/fibonacci_fast.c rename to math/fibonacci_fast.c diff --git a/misc/fibonacci_formula.c b/math/fibonacci_formula.c similarity index 100% rename from misc/fibonacci_formula.c rename to math/fibonacci_formula.c diff --git a/misc/gcd.c b/math/gcd.c similarity index 100% rename from misc/gcd.c rename to math/gcd.c diff --git a/misc/is_armstrong.c b/math/is_armstrong.c similarity index 100% rename from misc/is_armstrong.c rename to math/is_armstrong.c diff --git a/misc/large_factorials.c b/math/large_factorials.c similarity index 100% rename from misc/large_factorials.c rename to math/large_factorials.c diff --git a/misc/lcm.c b/math/lcm.c similarity index 100% rename from misc/lcm.c rename to math/lcm.c diff --git a/misc/lerp.c b/math/lerp.c similarity index 100% rename from misc/lerp.c rename to math/lerp.c diff --git a/misc/palindrome.c b/math/palindrome.c similarity index 100% rename from misc/palindrome.c rename to math/palindrome.c diff --git a/misc/prime.c b/math/prime.c similarity index 100% rename from misc/prime.c rename to math/prime.c diff --git a/misc/prime_factoriziation.c b/math/prime_factoriziation.c similarity index 100% rename from misc/prime_factoriziation.c rename to math/prime_factoriziation.c diff --git a/misc/prime_seive.c b/math/prime_sieve.c similarity index 96% rename from misc/prime_seive.c rename to math/prime_sieve.c index 6287bfff..c7a32c65 100644 --- a/misc/prime_seive.c +++ b/math/prime_sieve.c @@ -1,6 +1,6 @@ /** * @file - * @brief [Prime Seive](https://leetcode.com/problems/count-primes/) + * @brief [Prime Sieve](https://leetcode.com/problems/count-primes/) * algorithm implementation. * @author [Divyansh Kushwaha](https://github.com/webdesignbydivyansh) */ diff --git a/misc/strong_number.c b/math/strong_number.c similarity index 100% rename from misc/strong_number.c rename to math/strong_number.c