Written for students and professionals, Swift Algorithms & Data Structures blends modern code, illustrations, and computer science to help you pass the technical interview or build your next App.


Why Algorithms?

Swift is quickly becoming the language of choice due to its simplicity and new syntax. When creating modern apps as well as server-based solutions, much of the theory inherent to algorithms is often overlooked. the book takes a fresh approach to explaining concepts that power search engines, social networks and database systems. See how Swift works to create solutions for standard systems as well as mobile apps.

 

what you receive

Source code for the new book is now available in Xcode Playground format. Provided as a single download bundle, the code contains over 60 unit tests designed with XCTest. You’ll obtain the source as part of your download.

topics covered

Now in its 4th edition and read by thousands of developers in over 70 countries, the newest book features production Swift 5 code and beautiful illustrations for the following techniques: 


Essential Algorithms

  • Sorting

  • Linked Lists

  • Hash Tables

  • Stacks & Queues

Essential Swift syntax

  • Closures

  • Generics

  • Control Structures

  • Unit Testing with Xcode

Tree-based Structures

  • Binary Search Trees

  • AVL Trees (Tree Balancing & Rotations)

  • Tries

Ideas & Concepts (Ways of Thinking)

  • Big-O Notation

  • Recursion

  • Divide & Conquer

  • Memoization

  • Dynamic Programming

Advanced Structures

  • Graph Theory

  • Dijkstra's Shortest Path

  • Blockchain Networks

  • Machine Learning

  • Heaps & Heapsort Operations

  • Depth-First Search

  • Breadth-First Search


Need more training? Check out my iOS Computer Science Lab.

 
 

Q: How does your book compare with other books or algorithms courses I see online?

A: With over 15 years of experience in software development, database development, and project management, I was enthusiastic when Apple first introduced the Swift language back in 2014. My book on algorithms and data structures is based on the cumulative knowledge of my own background as well as the combined efforts of students I’ve coached who’ve gone on to land unique positions at Apple, Facebook and beyond. In summary, all of my work is laser-focused on helping others crack the technical interview process. This is reflected in my 4th Edition book, the Swift Essentials course as well as the Computer Science Lab.


 Q: Does your current book support Swift 5.0?


A: Yes. The book is now available in EPUB, PDF and Kindle formats and supports Swift 5.0. This update to Swift 5.0 has allowed an opportunity to refine many areas of the project. For those who’ve purchased a previous version of the book, the latest edition now includes new content related to machine learning, blockchain technology, generics, big o notation and other revisions.


Q: I have a copy of the old book and would like the new 4th edition. Will I be getting this as a free download?

A. No. However, readers of the 1st, 2nd & 3rd editions are entitled to a 50% discount. Just contact me for details. 


Q: Does the latest book also include free updates?


A: Yes. Those who order the current 4th edition will receive free 4th edition digital updates as they become available.


Q: I'm considering signing up for the computer science lab. Would I qualify for a free copy of your Swift book? 


A. Yes. Anyone enrolled in the iOS Computer Science Lab is also entitled to free access to all my digital products. This includes my latest book as well as pre-recorded webinars, whitepapers and code samples. 


Q: How can I obtain your latest Swift 5.0 source code?


A. Source code for the new book is now available in Xcode Playground format. Provided as a single download bundle, the code contains over 60 unit tests that cover book topics such as Machine Learning, Blockchain, Big O Notation, Linked Lists and Binary Search Trees. Readers can also obtain the source as part of their book purchase. 


Q: Is the book available for iBooks, Kindle or Android?


A: Yes, the 4th edition is also available in EPUB, PDF format and Kindle (MOBI) format. Designed by Apple, iBooks is fully compatible with the EPUB specification and optimized for MacBook, iPad, and iPhone. In addition to EPUB content, iBooks also supports viewing PDF documents. 


Q: Can I order a printed copy of the Swift 5.0 book?


A. Not at this time. Be sure to sign-up for my free download and you’ll also get notified on new announcements. 

 
So far the book has been fantastic. I’m a senior iOS consultant and have been in the business for 20+ years, first with C++, then obj-C, and now Swift for the past few years. I’ve written many lines of code, but can already tell that this book will help make things cleaner, more concise, and better-structured.
— Jeff
 

— I have just finished purchasing and this is a much needed book for the Swift community - thanks!"

— Thank you so much, and congratulations for such awesome work!"

— Thanks so much for the code! Have used it to write my first iPhone app. Your stack was very helpful."

— Your material is incredibly informative. I am really enjoying your Swift Algorithm series."

— Great book, thanks for your hard work. I've recommended it to several people who all went on to download it as well."

— A very well-written and highly recommended book. I Love it."

— I conduct mock interviews for software bootcamp graduates out in NYC.  I love your book, and recommend it to all of them. Keep up the great work.

— Excellent content. Thank you for taking the time to do this and the quality is great.”

— Your series on algorithms is a life saver. Explanations are so simple yet succinct. Thanks!”

— It's really well written, good job! It's always good to have a reference like this in your shelf."

— With your book, I can interview with Swift as my programming language of choice. Thanks for all your effort."

— Just finished the book. Great read! Would definitely recommend reading it to others!"