Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/duliodenis/swift-ds-algo
- Owner: duliodenis
- License: mit
- Created: 2018-06-07T20:41:08.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-06-10T14:58:11.000Z (over 6 years ago)
- Last Synced: 2024-11-07T03:18:45.960Z (2 months ago)
- Topics: algorithms, data-structures, swift
- Language: Swift
- Size: 45.9 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.