This is a collection of the algorithms in the amazing book Grokking Algorithms by Aditya Y. Bhargava.
If you are new to algorithms, this book is a great place to start. It is very well written and illustrated, and makes everything easy to understand.
In the book the algorithms are written in python. This project contains swift versions of the algorithms.