swift-algorithms
Commonly used sequence and collection algorithms for Swift
About this project
Swift Algorithms Swift Algorithms is an open-source package of sequence and collection algorithms, along with their related types. Overview The Algorithms package provides a variety of sequence and collection operations, letting you cycle over a collection's elements, find combinations and permutations, create a random sample, and more. For example, the package includes a group of "chunking" methods, each of which breaks a collection into consecutive subsequences. One version tests adjacent elements to find the breaking point between chunks — you can use it to quickly separate an array into ascending runs: Another version looks for a change in the transformation of each successive…
Technologies
Project health
GitHub
Reviews
Built by
Maintain apple/swift-algorithms? Claiming verifies admin access through your GitHub account and gives you control of this listing.