Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/seanoshea/computer-science-in-swift

Learning Swift via Computer Science
https://github.com/seanoshea/computer-science-in-swift

Last synced: 29 days ago
JSON representation

Learning Swift via Computer Science

Awesome Lists containing this project

README

        

[![Twitter: @seanoshea](https://img.shields.io/badge/[email protected]?style=flat)](https://twitter.com/seanoshea)
[![License](http://img.shields.io/badge/license-MIT-green.svg?style=flat)](https://github.com/seanoshea/computer-science-in-swift/blob/master/LICENSE)
[![Build Status](https://circleci.com/gh/seanoshea/computer-science-in-swift.svg?style=svg)](https://circleci.com/gh/seanoshea/computer-science-in-swift.svg?style=svg)

### computer-science-in-swift
The overwhelming majority of the actual code and logic for this repo is taken directly from https://github.com/nzakas/computer-science-in-javascript. The intent behind this repository of code is an attempt to try and translate logic from JavaScript into Swift.

### Wikipedia Links
* [Binary Search](http://en.wikipedia.org/wiki/Binary_search_algorithm)
* [Binary Search Tree](http://en.wikipedia.org/wiki/Binary_search_tree)
* [Depth First Search](https://en.wikipedia.org/wiki/Depth-first_search)
* [Breadth First Search](https://en.wikipedia.org/wiki/Breadth-first_search)
* [Bubble Sort](http://en.wikipedia.org/wiki/Bubble_sort)
* [Insertion Sort](http://en.wikipedia.org/wiki/Insertion_sort)
* [Linked List](http://en.wikipedia.org/wiki/Linked_list)
* [Merge Sort](http://en.wikipedia.org/wiki/Merge_sort)
* [Fibonacci Numbers](http://en.wikipedia.org/wiki/Fibonacci_number)
* [Quick Sort](http://en.wikipedia.org/wiki/Quicksort)
* [Selection Sort](http://en.wikipedia.org/wiki/Selection_sort)

### Other Repos
Fiddling around with sorting and data structures in Swift isn't exactly a new idea. Check out https://github.com/jessesquires/swift-sorts for some other Swift-based sorting algorithms.
The weighted graph implementation used in the shortest path example were copied directly from https://github.com/michaelgwelch/pandemic