swift-algorithms
Commonly used sequence and collection algorithms for Swift
File Explorer
- BUG_REPORT.md
- config.yml
- FEATURE_REQUEST.md
- NEW.md
- pull_request.yml
- PULL_REQUEST_TEMPLATE.md
- FewElements.png
- ManyElements.png
- AdjacentPairs.md
- Chain.md
- Chunked.md
- Combinations.md
- Compacted.md
- Cycle.md
- EndsWith.md
- FirstNonNil.md
- Grouped.md
- Indexed.md
- Intersperse.md
- Joined.md
- Keyed.md
- MinMax.md
- Partition.md
- Permutations.md
- Product.md
- RandomSampling.md
- README.md
- Reductions.md
- Rotate.md
- Split.md
- Stride.md
- Suffix.md
- Trim.md
- Unique.md
- Windows.md
- format.sh
- Algorithms.md
- Chunking.md
- CombinationsPermutations.md
- DeprecatedScan.md
- Extending.md
- Filtering.md
- Joining.md
- Keying.md
- MinAndMax.md
- Partitioning.md
- Reductions.md
- Sampling.md
- Selecting.md
- SlicingSplitting.md
- Trimming.md
- AdjacentPairs.swift
- Chain.swift
- Chunked.swift
- Combinations.swift
- Compacted.swift
- Cycle.swift
- EitherSequence.swift
- EndsWith.swift
- FirstNonNil.swift
- FlattenCollection.swift
- Grouped.swift
- Indexed.swift
- Intersperse.swift
- Joined.swift
- Keyed.swift
- MinMax.swift
- Partition.swift
- Permutations.swift
- Product.swift
- RandomSample.swift
- Reductions.swift
- Rotate.swift
- Split.swift
- Stride.swift
- Suffix.swift
- Trim.swift
- Unique.swift
- Windows.swift
- AdjacentPairsTests.swift
- ChainTests.swift
- ChunkedTests.swift
- CombinationsTests.swift
- CompactedTests.swift
- CycleTests.swift
- EndsWithTests.swift
- FirstNonNilTests.swift
- GroupedTests.swift
- IndexedTests.swift
- IntersperseTests.swift
- JoinedTests.swift
- KeyedTests.swift
- MinMaxTests.swift
- PartitionTests.swift
- PermutationsTests.swift
- ProductTests.swift
- RandomSampleTests.swift
- ReductionsTests.swift
- RotateTests.swift
- SplitTests.swift
- StrideTests.swift
- SuffixTests.swift
- TestUtilities.swift
- TrimTests.swift
- UniquePermutationsTests.swift
- UniqueTests.swift
- WindowsTests.swift
- IDEWorkspaceChecks.plist
- contents.xcworkspacedata
- Algorithms.xcscheme
- project.pbxproj
- Algorithms.xcconfig
- Algorithms.xctestplan
- AlgorithmsTests.xcconfig
- README.md
- Shared.xcconfig
- .gitignore
- .license_header_template
- .licenseignore
- .spi.yml
- .swift-format
- CHANGELOG.md
- CODE_OF_CONDUCT.md
- CONTRIBUTING.md
- LICENSE.txt
- Package.swift
- README.md
# Installation Guide
swiftSetup Steps
swift test
Run tests to verify the build and functionality.
Key Commands
swift test
Build and run the unit tests for the Swift package.
swift build
Build the Swift package.
This project supports Swift Package Manager and can be added as a dependency in other Swift projects.
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Link
Example
// repository documentation
Was this content helpful?
(0 ratings)
