github.com/apple/swift-algorithms (swiftpm): Commonly used sequence and collection algorithms for Swift
Keywords: algorithm|iterator|itertools