Skip to content

avitron01/algorithm-in-swift

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

algorithm-in-swift

A collection of various algorithms written in swift (v4), primarly for learning purposes. It's still a work in progress.

Some of the algorithms implemented till now:

Sorting algorithms

  • Bubble sort
  • Selection sort
  • Insertion sort

Prerequisites

Usage

For example, to run the SortingAlgorithm demo in terminal, write:

swift SortingAlgorithm.swift

TODO:

  • Bubble sort
  • Selection sort
  • Insertion sort
  • Heap sort
  • Merge sort
  • Quick sort
  • Linear Search
  • Binary Search
  • Bread-First Search
  • Depth-First Search
  • Bellman-Ford Algorithm
  • Dijkstra's Algorithm
  • A* algorithm
  • Euclidian Algorithm
  • Primality Test

Feel free to provide any feedback in the issues section.

About

A collection of various algorithms written in swift

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages