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: tranquil99/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
  • 10 commits
  • 18 files changed
  • 7 contributors

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 <actions@github.com>
    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 <34514239+appgurueu@users.noreply.github.com>
    Co-authored-by: Lars Mueller <appgurulars@gmx.de>
    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 <34514239+appgurueu@users.noreply.github.com>
    
    * Update edmondkarp.ts
    
    * Update graph/edmondkarp.ts
    
    Co-authored-by: Lars Müller <34514239+appgurueu@users.noreply.github.com>
    
    * 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 <34514239+appgurueu@users.noreply.github.com>
    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