An experimental classroom to learn/teach algorithms and data structures with Swift
A classroom where you can learn/teach common algorithms and data structures with Swift. Inspired by this blog post Always Be Coding and this repository Hapijs University.
Every few days an assignment will be given by creating an issue. You will fork this repository and send a pull request as your solution to the issue. We will do peer-review by commenting others’ solutions. We will learn and teach all together.
The topics are:
It is better if you are familiar with Swift, at least read the Swift book from Apple. The assignments will provide enough information to get you started, but mostly it will not repeat the info written in the algorithms books. You are encouraged to do the research on your own. The real benefit of this project comes from the peer-review of the solutions.
If you get stuck at some point, go and check others’ solutions. But don’t just copy it. After you’ve read the solution, simply look away, and see what you can recall from you’ve just read. Try to implement your own solution. Usually the first time you truly understand something is when you can actually do it yourself.
When writing your solutions, follow the RayWenderlich Swift Style Guide. One exception is that I prefer to use 4-space indentation instead of 2.
Like the idea? You could really help with any of the following: