Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: TheZoroWay/Algorithms-TypeScript
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: TheAlgorithms/TypeScript
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
  • 20 commits
  • 215 files changed
  • 9 contributors

Commits on Jan 31, 2024

  1. chore: add upload_coverage_report.yml (TheAlgorithms#224)

    * chore: add `upload_coverage_report.yml`
    
    * Update DIRECTORY.md
    
    ---------
    
    Co-authored-by: autoprettier <[email protected]>
    vil02 and actions-user authored Jan 31, 2024
    Configuration menu
    Copy the full SHA
    9bea135 View commit details
    Browse the repository at this point in the history
  2. feat: add perfect number (TheAlgorithms#221)

    * feat: add perfect numbers
    
    * Optimize isPerfectNumber function and update tests
    ei-sugimoto authored Jan 31, 2024
    Configuration menu
    Copy the full SHA
    296e4a5 View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2024

  1. Configuration menu
    Copy the full SHA
    4f6cd6c View commit details
    Browse the repository at this point in the history

Commits on Feb 14, 2024

  1. Configuration menu
    Copy the full SHA
    650d553 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    24cbb3b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    23ba61b View commit details
    Browse the repository at this point in the history

Commits on Mar 2, 2024

  1. Configuration menu
    Copy the full SHA
    b3a3bd7 View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2024

  1. Configuration menu
    Copy the full SHA
    26ac72d View commit details
    Browse the repository at this point in the history

Commits on Mar 5, 2024

  1. feat: Added Double Factorial Iterative Implementation (TheAlgorithms#187

    )
    
    * Update DIRECTORY.md
    
    * 🚀feat: added double factorial (iterative)
    
    * Update DIRECTORY.md
    
    * removed redundant if check, fix formatting
    
    * Update DIRECTORY.md
    
    ---------
    
    Co-authored-by: autoprettier <[email protected]>
    Co-authored-by: Lars Müller <[email protected]>
    3 people authored Mar 5, 2024
    Configuration menu
    Copy the full SHA
    c5b12db View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2024

  1. Add and run prettier (TheAlgorithms#234)

    * chore: add `prettier`
    
    * style: run `prettier`
    
    * chore: check formatting in CI
    vil02 authored Mar 18, 2024
    Configuration menu
    Copy the full SHA
    c2d7aa6 View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2024

  1. Refactor 0-1 Knapsack Implementation (TheAlgorithms#236)

    * ref: improve code readability, maintainabiity and edge case handling
    - Correctly throws an error if the length of the `weights` and `values` arrays are not equal
    - Use camelCase consistently through the codebase
    - Add type annotations to the function params and return types
    - Adding comments within the loops to clarify the logic
    - Ensure the function handles edge cases appropriately, such as when capacity is 0 or when weights and values arrays are empty
    
    * chore(docs): rewrite function docstring
    
    * style: format code using prettier
    sozelfist authored Apr 8, 2024
    Configuration menu
    Copy the full SHA
    b4062be View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2024

  1. ref: update Heap implementation (TheAlgorithms#237)

    - Improved comments for clarity and correctness.
    - Used default parameter values where applicable for better readability.
    - Consistently used `void` return type for functions without a return value.
    - Ensured consistent use of semicolons for statement termination.
    - Made minor adjustments to ensure consistency in naming and coding style.
    sozelfist authored Apr 12, 2024
    Configuration menu
    Copy the full SHA
    e1f635a View commit details
    Browse the repository at this point in the history

Commits on Apr 24, 2024

  1. Add codecov badge (TheAlgorithms#225)

    * Update DIRECTORY.md
    
    * docs: add codecov badge
    
    ---------
    
    Co-authored-by: autoprettier <[email protected]>
    vil02 and actions-user authored Apr 24, 2024
    Configuration menu
    Copy the full SHA
    59984ee View commit details
    Browse the repository at this point in the history

Commits on May 25, 2024

  1. style: fix some eslint warnings (TheAlgorithms#240)

    * style: mark `stepSize` as `const`
    
    * style: fix some `eslint` warnings
    vil02 authored May 25, 2024
    Configuration menu
    Copy the full SHA
    a08a122 View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2024

  1. Configuration menu
    Copy the full SHA
    8c8a0ec View commit details
    Browse the repository at this point in the history

Commits on Jun 8, 2024

  1. style: lint tries.ts (TheAlgorithms#242)

    * style: resolve `consistent-indexed-object-style`
    
    * style: remove redundant constructor
    
    * style: resolve `non-inferrable-types`
    vil02 authored Jun 8, 2024
    Configuration menu
    Copy the full SHA
    d42b962 View commit details
    Browse the repository at this point in the history

Commits on Jun 11, 2024

  1. Configuration menu
    Copy the full SHA
    869135a View commit details
    Browse the repository at this point in the history

Commits on Aug 4, 2024

  1. feat: add fibonaccisearch algorithm (TheAlgorithms#244)

    * feat: add fibonaccisearch algorithm
    
    * test: add test for fibonacci search algorithm
    
    * fix: changed variable names and function return
    
    * remove redundant @function
    
    * fix tests
    
    * fix type
    
    * fix formatting
    
    ---------
    
    Co-authored-by: Lars Müller <[email protected]>
    Co-authored-by: Lars Mueller <[email protected]>
    3 people authored Aug 4, 2024
    Configuration menu
    Copy the full SHA
    e6d916e View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2024

  1. Exponential search (TheAlgorithms#247)

    * feat: add exponential search
    
    * test: add test for exponential search
    
    * fix : prettier fix
    
    * fix: added parameters to iterative binary search
    
    * fix: prettier fix TheAlgorithms#2
    
    * fix: modified the return on binary search and related tests
    Fechuli authored Aug 5, 2024
    Configuration menu
    Copy the full SHA
    44127b2 View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2024

  1. Added the implementation of the Edmond Karp algorithm along with test…

    … cases (TheAlgorithms#252)
    
    * Added the implementation for bijection method binary to decimal and euler method
    
    * Added the implementation of the edmondkarp along with tests
    
    * Update graph/edmondkarp.ts
    
    Co-authored-by: Lars Müller <[email protected]>
    
    * Update edmondkarp.ts
    
    * Update graph/edmondkarp.ts
    
    Co-authored-by: Lars Müller <[email protected]>
    
    * Implement the furhter changes to make the algorithm more refined
    
    * Updated the test cases 
    
    Updated the test cases
    
    * Updated the code and rewrite some functions 
    
    Updated the code and rewrite some functions
    
    * Implement the optimal stack queue implementation in the edmond karp algorithm
    
    * removed the bisection_method.ts, decimal_convert.ts, euler_method.ts
    
    * Revert changes to package.json and package-lock.json
    
    ---------
    
    Co-authored-by: Lars Müller <[email protected]>
    mapcrafter2048 and appgurueu authored Oct 16, 2024
    Configuration menu
    Copy the full SHA
    19b4ced View commit details
    Browse the repository at this point in the history
Loading