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: kodecocodes/swift-algorithm-club
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: CHIRAGGARORA/swift-algorithm-club
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
  • 3 commits
  • 2 files changed
  • 1 contributor

Commits on Jan 20, 2023

  1. Improve fourSum function with unique quadruplets

    This commit improves the fourSum function by removing duplicates and returning only unique quadruplets that add up to the specific target. The code now also skips over any repeated elements in the input collection, making it more efficient and accurate. The unnecessary formUniqueIndex function is removed which is not needed in this version of the code, and minor changes are made to the existing code to improve readability and maintainability.
    CHIRAGGARORA authored Jan 20, 2023
    Configuration menu
    Copy the full SHA
    d776a22 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1 from CHIRAGGARORA/CHIRAGGARORA-patch-1

    Improve fourSum function with unique quadruplets
    CHIRAGGARORA authored Jan 20, 2023
    Configuration menu
    Copy the full SHA
    f0720f5 View commit details
    Browse the repository at this point in the history
  3. Improved Bloom Filter with error handling

    This commit includes an improved version of the Bloom filter code, which now includes error handling to check if the number of hash functions passed is greater than the size of the array and raises a fatal error if that's the case. The class now imports foundation library
    CHIRAGGARORA authored Jan 20, 2023
    Configuration menu
    Copy the full SHA
    0f7c30e View commit details
    Browse the repository at this point in the history
Loading