Examples: Common Data Structures And Algorithms Implemented In Swift

Last year I mentioned a nice collection of design patterns implemented in Swift.

Here’s a project from Wayne Bishop that provides a number of examples of many different data structures implemented in Swift, and also a number of commonly seen algorithms.

Here’s a list of the algorithms within Swift Structures as stated within the readme:

Linked Lists
Binary Search
Insertion Sort
Bubble Sort
Quick Sort
Merge Sort
Generics
Hash Tables
Binary Search Trees
Tries
Stacks & Queues
Graphs
Dijkstra’s Shortest Path
Heaps & Heapsort Operations
Depth-First Search
Breath-First Search

You can find SwiftStructures on Github here.

A great collection of common data structures and algorithms if you’re looking for an implementation or just learning Swift.

Original article: Examples: Common Data Structures And Algorithms Implemented In Swift

©2015 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.

Leave a Reply

Your email address will not be published. Required fields are marked *