Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/duliodenis/swift-ds-algo

This is a repository of Swift Data Structures and Algorithms ranging from Big-O Analysis, Linked Lists, Recursion, Generics and Sorting.
https://github.com/duliodenis/swift-ds-algo

algorithms data-structures swift

Last synced: 20 days ago
JSON representation

This is a repository of Swift Data Structures and Algorithms ranging from Big-O Analysis, Linked Lists, Recursion, Generics and Sorting.

Awesome Lists containing this project

README

        

# Swift Data Structures & Algorithms
This is a repository of Swift Data Structures and Algorithms ranging from Big-O Analysis, Linked Lists, Recursion, Generics and Sorting.

![](art/vscode.png?raw=true)

In these examples I used Visual Studio Code and the Integrated Terminal to run the scripts instead of the Xcode Playground. This way these examples can run anywhere Swift runs.

| Section | Item
| ------- | ----
| Big O | [constant time example](big-oh/constantTime.swift)
| Recursion | [recursively print a linked list](recursion/linkedList.swift)
| | [recursive factorial function](recursion/factorial.swift)
| Classic Algorithms | [Sum the first n natural numbers](classic-algorithms/sum.swift)

### Licensing
My Swift Data Structures and Algorithms repo is licensed under [the MIT License](LICENSE).

### Support or Contact
Visit [ddApps.co](http://ddapps.co) to see more.