SpiderMath
Repos
107
Followers
13
Following
11

A simple and concise wrapper for the API at https://restcountries.eu

This is an Utilitarian NPM Package for Discord with Tons of (upcoming) Features!

0
2

Adds a random programming quote to the readme

Events

issue comment
[BUG] Duplicate entries

Sorry to bother, but are there any updates?

Created at 1 day ago
opened issue
Duplicate entries for Euler's Totient

Description of the content report

I recently found four entries for the implementation of the Euler's totient function

Add screenshots of the content report (if applicable)

image

Additional information/context

The entries are (as shown in order of the screenshot):

  • https://the-algorithms.com/algorithm/eulers-totient
  • https://the-algorithms.com/algorithm/eulers-totient-function
  • https://the-algorithms.com/algorithm/eulertotient
  • https://the-algorithms.com/algorithm/a000010-eulers-totient

There also seem to be two implementations in the JavaScript repository, so I would like to urge the repository maintainers to remove one of the implementations (I'm not sure if I'm to open an issue for this in that repository as well, so I'm currently not doing so).

Created at 2 days ago

docs: fix CI and remove LGTM badges (#1269)

  • Updated Documentation in README.md

  • docs: fix CI and remove LGTM badges

LGTM is no longer a supported service and has been integrated with GitHub (which is now CodeQL). We can create a CodeQL workflow and integrate it into the repository, however, that fits for another PR.

The shields badge API was updated, thus, causing an invalid badge: https://github.com/badges/shields/issues/8671

Co-authored-by: github-actions ${GITHUB_ACTOR}@users.noreply.github.com

docs: improve the contributing guidelines (#1271)

docs: improve the issue forms (#1272)

chore(deps): bump json5 from 1.0.1 to 1.0.2 (#1274)

Bumps json5 from 1.0.1 to 1.0.2.


updated-dependencies:

  • dependency-name: json5 dependency-type: indirect ...

Signed-off-by: dependabot[bot] support@github.com

Signed-off-by: dependabot[bot] support@github.com Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Created at 2 days ago
Created at 1 week ago

[feat/fix]: improve the data stack implementations (#2235)

  • fix: remove memory leak in stack

  • style: use camelCase

  • style: simplify logic

  • style: rename stack.h to stack.hpp

  • updating DIRECTORY.md

  • clang-format and clang-tidy fixes for 2205c6f1

  • fix: remove redundant file name

Co-authored-by: David Leal halfpacho@gmail.com

  • clang-format and clang-tidy fixes for a080aaa2

  • refactor: use std::shared_ptr

  • fix: use C++11

  • chore: synchronize with master (#2)

  • chore: fix Markdown formatting in dynamic_programming/kadane2.cpp (#2276)

  • docs: fix grammatical errors and typos (#2201)

  • docs: fix grammatical errors and typos

  • compilation error fixed

  • Revert "compilation error fixed"

This reverts commit 0083cbfd1a9c6bde2410d426892c84467142c689.

  • feat: added physics directory and ground to ground projectile motion algorithm (#2279)

  • feat: added physics folder, ground to ground projectile motion calculations

  • feat: added max height function

  • fix: bug in angle calculations

  • test: added test cases

  • docs: added comments to test case variables

  • docs: added comments to calculations

  • fix: changed floats to doubles

  • updating DIRECTORY.md

  • Update physics/ground_to_ground_projectile_motion.cpp

Co-authored-by: David Leal halfpacho@gmail.com

  • chore: add missing namespace

  • rerun checks

Co-authored-by: David Panquesito7@users.noreply.github.com Co-authored-by: David Leal halfpacho@gmail.com

  • docs: updated a logically wrong doc comment (#2329)

  • feat: add CMakeLists to the divide_and_conquer directory (#2072)

  • fix: stairs pattern not printing slash (#2111)

when we propose 2 backslash then it doesn't take it as a comment and gets printed

Co-authored-by: David Leal halfpacho@gmail.com

  • fix: use FreeGlut newest GitHub link (#2397)

  • updating DIRECTORY.md

  • fix: use FreeGlut newest GitHub link

  • chore(fix): data_strcutres -> data_structures (#2399)

  • feat: add Find non repeating number implementation (#2061)

  • add find_single_number

  • add fix issues

  • remove .vscode

  • add .vscode

  • Update .vscode/settings.json

Co-authored-by: David Leal halfpacho@gmail.com

  • chore(fix): minor issues

Co-authored-by: David Leal halfpacho@gmail.com

  • [feat/docs]: improve the quick_sort.cpp algorithm (#2396)

  • [feat/docs]: improve the quick_sort.cpp...

...algorithm implementation.

  • clang-format and clang-tidy fixes for 40c858ba

  • chore(fix): add original author

  • updating DIRECTORY.md

  • chore: update Discord links (#2407)

  • docs: remove unneeded Markdown header

  • feat: improve the Awesome Workflow (#2408)

  • fix: Awesome Workflow issues

Thanks to @tjgurwara99 for the original fix: TheAlgorithms/C#1176

  • chore: apply suggestions from code review

Co-authored-by: Taj tjgurwara99@users.noreply.github.com

  • feat: various improvements

  • chore: apply suggestions from code review

Co-authored-by: Taj tjgurwara99@users.noreply.github.com

  • chore: remove LGTM and fix...

...CodeQL badges.

  • docs: add guide on integrating CMake (#2410)

Taken from TheAlgorithms/C#1163

  • updating DIRECTORY.md

Co-authored-by: Daemon 90456722+Daemon19@users.noreply.github.com Co-authored-by: aadarshkt 72285744+aadarshkt@users.noreply.github.com Co-authored-by: Focus 65309793+Focusucof@users.noreply.github.com Co-authored-by: David Panquesito7@users.noreply.github.com Co-authored-by: David Leal halfpacho@gmail.com Co-authored-by: Arjit Malik arjitmalik2001@gmail.com Co-authored-by: Harsh Singh 94822101+harshsingh510@users.noreply.github.com Co-authored-by: Ravi Dev Pandey 62198564+literalEval@users.noreply.github.com Co-authored-by: Mehmet 110852769+walterwhite351@users.noreply.github.com Co-authored-by: Taj tjgurwara99@users.noreply.github.com Co-authored-by: github-actions[bot] github-actions@users.noreply.github.com

  • docs: update authors and include comments

apply suggestions of @Panquesito7

Co-authored-by: David Leal halfpacho@gmail.com

  • style: apply clang-format

  • clang-format and clang-tidy fixes for b35b7214

  • style: make display and isEmptyStack const

  • tests: remove test_stack_legacy.cpp

  • style: throw invalid_argument from top and pop if stack empty

  • updating DIRECTORY.md

  • style: add missing include docs, remove cassert

  • style: use assert macro, document includes

  • fix: use const reference in lambdas in display and toVector

  • style: remove shared_ptr from traverse

Co-authored-by: David Leal halfpacho@gmail.com Co-authored-by: Daemon 90456722+Daemon19@users.noreply.github.com Co-authored-by: aadarshkt 72285744+aadarshkt@users.noreply.github.com Co-authored-by: Focus 65309793+Focusucof@users.noreply.github.com Co-authored-by: Arjit Malik arjitmalik2001@gmail.com Co-authored-by: Harsh Singh 94822101+harshsingh510@users.noreply.github.com Co-authored-by: Ravi Dev Pandey 62198564+literalEval@users.noreply.github.com Co-authored-by: Mehmet 110852769+walterwhite351@users.noreply.github.com Co-authored-by: Taj tjgurwara99@users.noreply.github.com Co-authored-by: github-actions[bot] github-actions@users.noreply.github.com

Merge branch 'master' into add-aliquot-sum

Created at 3 weeks ago

feat: add greatest_common_divisor_stein to greatest_common_divisor (#429)

fix: misspelled word (#438)

Add Sine function (#437)

Merge branch 'master' into add-abs

Created at 3 weeks ago
Created at 1 month ago
feat: Add aliquot sum of a number algorithm, class Math

That took months :skull:

Created at 1 month ago
feat: Add aliquot sum of a number algorithm, class Math

@Panquesito7 (._.) Man, atleast reply

Created at 1 month ago
feat: Add aliquot sum of a number algorithm, class Math
/home/runner/work/C-Plus-Plus_TheAlgorithms/C-Plus-Plus_TheAlgorithms/sorting/quick_sort.cpp:139:17: warning: C-style casts are discouraged; use static_cast [google-readability-casting]
        arr, 0, int(std::end(arr) - std::begin(arr)) - 1);
                ^~~
                static_cast<int>
/home/runner/work/C-Plus-Plus_TheAlgorithms/C-Plus-Plus_TheAlgorithms/sorting/quick_sort.cpp:139:17: note: FIX-IT applied suggested code changes
/home/runner/work/C-Plus-Plus_TheAlgorithms/C-Plus-Plus_TheAlgorithms/sorting/quick_sort.cpp:148:18: error: narrowing conversion from 'typename __normal_iterator<long *, vector<long>>::difference_type' (aka 'long') to signed type 'int' is implementation-defined [cppcoreguidelines-narrowing-conversions,-warnings-as-errors]
        arr2, 0, std::end(arr2) - std::begin(arr2));
                 ^
/home/runner/work/C-Plus-Plus_TheAlgorithms/C-Plus-Plus_TheAlgorithms/sorting/quick_sort.cpp:157:18: warning: C-style casts are discouraged; use static_cast [google-readability-casting]
        arr3, 0, int(std::end(arr3) - std::begin(arr3)) - 1);
                 ^~~
                 static_cast<int>
/home/runner/work/C-Plus-Plus_TheAlgorithms/C-Plus-Plus_TheAlgorithms/sorting/quick_sort.cpp:157:18: note: FIX-IT applied suggested code changes
/home/runner/work/C-Plus-Plus_TheAlgorithms/C-Plus-Plus_TheAlgorithms/sorting/quick_sort.cpp:173:18: warning: C-style casts are discouraged; use static_cast [google-readability-casting]
        arr4, 0, int(std::end(arr4) - std::begin(arr4)) - 1);
                 ^~~
                 static_cast<int>
/home/runner/work/C-Plus-Plus_TheAlgorithms/C-Plus-Plus_TheAlgorithms/sorting/quick_sort.cpp:173:18: note: FIX-IT applied suggested code changes
/home/runner/work/C-Plus-Plus_TheAlgorithms/C-Plus-Plus_TheAlgorithms/sorting/quick_sort.cpp:182:43: error: narrowing conversion from 'typename __normal_iterator<unsigned long *, vector<unsigned long>>::difference_type' (aka 'long') to signed type 'int' is implementation-defined [cppcoreguidelines-narrowing-conversions,-warnings-as-errors]
    sorting::quick_sort::show(arr_sorted, std::end(arr) - std::begin(arr));
                                          ^
/home/runner/work/C-Plus-Plus_TheAlgorithms/C-Plus-Plus_TheAlgorithms/sorting/quick_sort.cpp:185:44: error: narrowing conversion from 'typename __normal_iterator<long *, vector<long>>::difference_type' (aka 'long') to signed type 'int' is implementation-defined [cppcoreguidelines-narrowing-conversions,-warnings-as-errors]
    sorting::quick_sort::show(arr_sorted2, std::end(arr2) - std::begin(arr2));
                                           ^
/home/runner/work/C-Plus-Plus_TheAlgorithms/C-Plus-Plus_TheAlgorithms/sorting/quick_sort.cpp:189:31: warning: C-style casts are discouraged; use static_cast [google-readability-casting]
                              int(std::end(arr3) - std::begin(arr3)) - 1);
                              ^~~
                              static_cast<int>
/home/runner/work/C-Plus-Plus_TheAlgorithms/C-Plus-Plus_TheAlgorithms/sorting/quick_sort.cpp:189:31: note: FIX-IT applied suggested code changes
/home/runner/work/C-Plus-Plus_TheAlgorithms/C-Plus-Plus_TheAlgorithms/sorting/quick_sort.cpp:193:22: warning: C-style casts are discouraged; use static_cast [google-readability-casting]
        arr4_sorted, int(std::end(arr4_sorted) - std::begin(arr4_sorted)) - 1);
                     ^~~
                     static_cast<int>
/home/runner/work/C-Plus-Plus_TheAlgorithms/C-Plus-Plus_TheAlgorithms/sorting/quick_sort.cpp:193:22: note: FIX-IT applied suggested code changes
clang-tidy applied 5 of 5 suggested fixes.
Suppressed 11980 warnings (11980 in non-user code).
Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
3 warnings treated as errors
Python 3.10.6
12 files were modified.
3 C++ files were modified.

Quick sort's erroring out it seems

Created at 1 month ago

chore: update Discord links (#2407)

docs: remove unneeded Markdown header

feat: improve the Awesome Workflow (#2408)

  • fix: Awesome Workflow issues

Thanks to @tjgurwara99 for the original fix: TheAlgorithms/C#1176

  • chore: apply suggestions from code review

Co-authored-by: Taj tjgurwara99@users.noreply.github.com

  • feat: various improvements

  • chore: apply suggestions from code review

Co-authored-by: Taj tjgurwara99@users.noreply.github.com

chore: remove LGTM and fix...

...CodeQL badges.

docs: add guide on integrating CMake (#2410)

Taken from TheAlgorithms/C#1163

Merge branch 'master' into add-aliquot-sum

Created at 1 month ago
feat: Add aliquot sum of a number algorithm, class Math

@Panquesito7 hey :grimacing:

Created at 1 month ago

fix: Awesome Workflow issues (#1176)

  • Delete codeql_analysis.yml

  • fixing workflows

chore: use actions/checkout@v3

docs: remove unneeded Markdown header

chore: remove LGTM and fix...

...CodeQL badge.

feat: add Longest Valid Parentheses LeetCode problem (#1166)

Co-authored-by: David Leal halfpacho@gmail.com

feat: add Number of Ways to Split Array LeetCode (#1165)

Co-authored-by: David Leal halfpacho@gmail.com

feat: add Determine if String Halves Are Alike LeetCode (#1168)

  • add leetcode Determine if String Halves Are Alike

  • fix variable name

Co-authored-by: David Leal halfpacho@gmail.com

feat: add Kth Smallest Element in a BST (#1157)

Co-authored-by: David Leal halfpacho@gmail.com

feat: add Word Search LeetCode problem (#1160)

Co-authored-by: David Leal halfpacho@gmail.com

feat: improve the Awesome Workflow (#1186)

  • feat: improve the Awesome Workflow

Co-authored-by: Taj tjgurwara99@users.noreply.github.com

  • updating DIRECTORY.md

  • chore: remove/add a few spaces

Co-authored-by: Taj tjgurwara99@users.noreply.github.com Co-authored-by: github-actions[bot] github-actions@users.noreply.github.com

feat: add Number of Ways to Select Buildings (#1140)

  • add Number of Ways to Select Buildings

  • Update 2222.c

add new line at the end

  • Rename README.md to DIRECTORY.md

  • Update leetcode/src/2222.c

Co-authored-by: Taj tjgurwara99@users.noreply.github.com

  • fix review notes

Co-authored-by: David Leal halfpacho@gmail.com Co-authored-by: Taj tjgurwara99@users.noreply.github.com

Merge branch 'master' into separate-maths

Created at 1 month ago

Improve Insertion sort readability (#435)

Merge branch 'master' into add-abs

Created at 1 month ago
Created at 1 month ago
issue comment
Duplicate entries for Anagrams

Please reopen this issue since the problem was not entirely fixed. In this entry, the Rust implementation is supposed to go under Check anagram and the Java entry is just doing its own thing since they have the same program but under two different entries. IG we're to open an issue there too, idk, but the rust one is to go under Check anagram

Created at 1 month ago
issue comment
algorithm: Added Hamming Distance

You could probably shorten this to a one-liner using reduce BTW.

Probably so, yes, but I thought it would get complicated if I tried to write the code in that way, and this implementation just felt it would easier to comprehend (my opinion could be wrong)

Created at 1 month ago
pull request opened
algorithm: Added Hamming Distance

This PR aims to add the implementation for measuring the hamming distance between two strings. The algorithms entry for Hamming distance.

Created at 1 month ago

Added hamming distance algorithm implementation🐹

Created at 1 month ago

Deprecreated. But I fix things

fix ci

remove erlpack

update scripts

testing in prod

almost fixed

remove alpha sort

fix

chore(deps-dev): bump @types/node from 15.6.2 to 15.12.0

Bumps @types/node from 15.6.2 to 15.12.0.


updated-dependencies:

  • dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-minor ...

Signed-off-by: dependabot[bot] support@github.com

Merge pull request #193 from Milo123459/dependabot/npm_and_yarn/types/node-15.12.0

you now have to use messageid

chore(deps): bump mongoose from 5.12.12 to 5.12.13

Bumps mongoose from 5.12.12 to 5.12.13.


updated-dependencies:

  • dependency-name: mongoose dependency-type: direct:production update-type: version-update:semver-patch ...

Signed-off-by: dependabot[bot] support@github.com

chore(deps-dev): bump @types/node from 15.12.0 to 15.12.1

Bumps @types/node from 15.12.0 to 15.12.1.


updated-dependencies:

  • dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ...

Signed-off-by: dependabot[bot] support@github.com

chore(deps-dev): bump prettier from 2.3.0 to 2.3.1

Bumps prettier from 2.3.0 to 2.3.1.


updated-dependencies:

  • dependency-name: prettier dependency-type: direct:development update-type: version-update:semver-patch ...

Signed-off-by: dependabot[bot] support@github.com

Merge pull request #194 from Milo123459/dependabot/npm_and_yarn/mongoose-5.12.13

chore(deps): bump mongoose from 5.12.12 to 5.12.13

Merge pull request #195 from Milo123459/dependabot/npm_and_yarn/types/node-15.12.1

Merge pull request #197 from Milo123459/dependabot/npm_and_yarn/prettier-2.3.1

chore(deps): bump mathjs from 9.4.1 to 9.4.2

Bumps mathjs from 9.4.1 to 9.4.2.


updated-dependencies:

  • dependency-name: mathjs dependency-type: direct:production update-type: version-update:semver-patch ...

Signed-off-by: dependabot[bot] support@github.com

Merge pull request #196 from Milo123459/dependabot/npm_and_yarn/mathjs-9.4.2

chore(deps-dev): bump @types/prompts from 2.0.12 to 2.0.13

Bumps @types/prompts from 2.0.12 to 2.0.13.


updated-dependencies:

  • dependency-name: "@types/prompts" dependency-type: direct:development update-type: version-update:semver-patch ...

Signed-off-by: dependabot[bot] support@github.com

Created at 1 month ago
Created at 1 month ago
Created at 1 month ago
Created at 1 month ago
SpiderMath create branch add-hamming-distance
Created at 1 month ago

algorithm: pronic number (#82)

  • Added implementation for Pronic Number 😁

  • Update DIRECTORY.md

Co-authored-by: autoprettier actions@github.com

Created at 1 month ago

fix: break ceil_floor into separate entries for ceil and floor (#168)

  • 🔨Broke ceil_floor into diff. files to match web

  • Fixed imports (oops)

  • fix: explicitly call Base

  • fix: explicitly call some parent modules in tests

  • doc: update README.md

  • possibly find some solutions to conflicting namespaces. from what i can find, the only way is to explicitly add the name of the parent module like so Base.somefunc but actually my problem is about baremodule and not that.

Co-authored-by: Soc Virnyl S. Estela socvirnyl.estela@gmail.com

Created at 1 month ago
pull request opened
feat: Add pronic number implementation

This PR aims to add the implementation for checking whether a number is a pronic number of not. The related entry is here

Created at 1 month ago