Swiftpack.co -  sjaindl/DataStructuresAlgs as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
Collection of data structures and algs to be used in Swift
.package(url: "https://github.com/sjaindl/DataStructuresAlgs.git", from: "1.0.5")


This package offers a collection of data structures and algorithms written in Swift. This includes well-known data structures and algorithms such as Djikstra's shortest path algorithm, as well as algorithms for specific problems such as checking whether a string contains all unique characters.

Each data structures and algorithm class also has a corresponding unit test with, if applicable, a link to test data/further decription.


This swift package can be used freely, see https://github.com/sjaindl/DataStructuresAlgs/blob/master/DataStructuresAlgorithms/LICENSE for license notes.


No special prerequisites required. You just need an IDE (preferably Xcode) and clone the source code: git clone https://github.com/sjaindl/DataStructuresAlgs.git

You can execute all unit tests in DataStructuresAlgorithmsTest target or just run the testAll() function in DataStructuresAlgorithmsTests.


Stars: 0
Last commit: 14 weeks ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API