Data Structures & Algorithms in Swift: Implementing practical data structures with Swift 4

Book Description

Learn data structures and in ! Understanding how data structures and algorithms work in is crucial for creating efficient and scalable apps. ’s Standard Library has a small set of general purpose collection types, yet they definitely don’t cover every case! In this book, you’ll learn how to implement the most popular and useful data structures, and when and why you should use one particular data structure or algorithm over another. This set of basic data structures and algorithms will serve as an excellent foundation for building more complex and special-purpose constructs. As well, the high-level expressiveness of makes it an ideal choice for learning these core concepts without sacrificing . Who This Book Is For This book is for developers who are comfortable with Swift and want to ace whiteboard interviews, improve the of their code, and ensure their apps will perform well at scale. Topics Covered in Data Structures & Algorithms in Swift * Basic structures: Start with the fundamental structures of linked lists, queues and stacks, and see how to implement them in a highly Swift-like way. * Trees: Learn how to work with various types of trees, including general purpose trees, binary trees, AVL trees, binary search trees, and tries. * Sorting: Go beyond bubble and insertion sort with better-performing algorithms, including mergesort, radix sort, heap sort, and quicksort. * : Learn how to construct directed, non-directed and weighted to represent many real-world models. * Traversals: Traverse and trees efficiently with breadth-first, depth-first, Dijkstra’s and Prim’s algorithms to solve problems such as finding the shortest path or lowest cost in a . * And much, much more! By the end of this book, you’ll have hands-on experience solving common issues with data structures and algorithms — and you’ll be well on your way to developing your own efficient and useful implementations!

Table of Contents

Chapter 1: Preface
Chapter 2: Swift Standard Library
Chapter 3: Linked List
Chapter 4: Stack Data Structure
Chapter 5: Queues
Chapter 6: Trees
Chapter 7: Binary Trees
Chapter 8: Binary Search Trees
Chapter 9: AVL Trees
Chapter 10: Tries
Chapter 11: Binary Search
Chapter 12: The Heap Data Structure
Chapter 13: Priority Queue
Chapter 14: O(n²) Sorting Algorithms
Chapter 15: Merge Sort
Chapter 16: Radix Sort
Chapter 17: Heap Sort
Chapter 18: Quicksort
Chapter 19: Graphs
Chapter 20: Breadth First Search
Chapter 21: Depth-First Search
Chapter 22: Dijkstra’s Algorithm
Chapter 23: Prim’s Algorithm

Book Details

  • Title: Data Structures & Algorithms in Swift: Implementing practical data structures with Swift 4
  • Author: , ,
  • Length: 280 pages
  • Edition: 1
  • Language: English
  • Publisher:
  • Publication Date: 2018-03-13
  • ISBN-10: 1942878486
  • ISBN-13: 9781942878483
Download LinkFormatSize (MB)Upload Date
Direct download (Recommended!)True PDF13.605/02/2019
Download from UsersCloudTrue PDF13.609/19/2018
How to Download? Report Dead Links & Get a Copy