Subscription

0
You have no products in your basket yet

Save more on your purchases!
Savings automatically calculated. No voucher code required

eBook

Print

$43.99
Subscription

$15.99
Monthly
eBook

Print

$43.99
Subscription

$15.99
Monthly
Download this book in **EPUB** and **PDF** formats

Access this title in our online reader with advanced features

- Develop a deep understanding of the collections in the Swift Standard Library with this step-by-step guide
- Develop native Swift data structures and algorithms for use in mobile, desktop, and server-based applications
- Learn about performance efficiency between different data structures and algorithms

Appleâ€™s Swift language has expressive features that are familiar to those working with modern functional languages, but also provides backward support for Objective-C and Appleâ€™s legacy frameworks. These features are attracting many new developers to start creating applications for OS X and iOS using Swift.
Designing an application to scale while processing large amounts of data or provide fast and efficient searching can be complex, especially running on mobile devices with limited memory and bandwidth. Learning about best practices and knowing how to select the best data structure and algorithm in Swift is crucial to the success of your application and will help ensure your application is a success. Thatâ€™s what this book will teach you.
Starting at the beginning, this book will cover the basic data structures and Swift types, and introduce asymptotic analysis. Youâ€™ll learn about the standard library collections and bridging between Swift and Objective-C collections. You will see how to implement advanced data structures, sort algorithms, work with trees, advanced searching methods, use graphs, and performance and algorithm efficiency. Youâ€™ll also see how to choose the perfect algorithm for your problem.

[*] Get to know about the basic data structures and how to use the Swift REPL
[*] Use the Swift Standard Library collections bridging to Objective-C collections, and find out about protocol-oriented programming
[*] Find out about Swift generators and sequences, and see how to use them to implement advanced data structures such as Stack, StackList, Queue, and LinkedList
[*] Implement sorting algorithms such as Insertion Sort, Merge Sort, and Quick Sort and understand the performance trade-offs between them
[*]See how to implement various binary trees, B-Tree, and Splay Trees
[*] Perform advanced searching methods using Red-Black trees, AVL trees, and Trie trees, and take a look at several substring search algorithms
[*] Get to know about the data structures used in graphs and how to implement graphs such as depth-first search, breadth-first search, directed graphs, spanning tree, and shortest path
[*] Explore algorithm efficiency and see how to measure it

Download this book in **EPUB** and **PDF** formats

Access this title in our online reader with advanced features

Publication date :
Nov 18, 2016

Length
286 pages

Edition :
1st Edition

Language :
English

ISBN-13 :
9781785884504

Vendor :

Apple

Category :

Languages :

Concepts :

Tools :

Swift Data Structure and Algorithms

Credits

About the Authors

About the Reviewers

www.PacktPub.com

Preface

1. Walking Across the Playground

2. Working with Commonly Used Data Structures

3. Standing on the Shoulders of Giants

4. Sorting Algorithms

5. Seeing the Forest through the Tree

6. Advanced Searching Methods

7. Graph Algorithms

8. Performance and Algorithm Efficiency

9. Choosing the Perfect Algorithm

Filter

No reviews found

How do I buy and download an eBook?

How can I make a purchase on your website?

Where can I access support around an eBook?

What eBook formats do Packt support?

What are the benefits of eBooks?

What is an eBook?