© 2020

Data Structures and Algorithms in Swift

Implement Stacks, Queues, Dictionaries, and Lists in Your Apps


Table of contents

  1. Front Matter
    Pages i-xiii
  2. Elshad Karimov
    Pages 1-8
  3. Elshad Karimov
    Pages 9-15
  4. Elshad Karimov
    Pages 17-26
  5. Elshad Karimov
    Pages 27-32
  6. Elshad Karimov
    Pages 33-40
  7. Elshad Karimov
    Pages 41-54
  8. Elshad Karimov
    Pages 55-60
  9. Elshad Karimov
    Pages 61-66
  10. Elshad Karimov
    Pages 67-75
  11. Elshad Karimov
    Pages 77-86
  12. Elshad Karimov
    Pages 87-100
  13. Elshad Karimov
    Pages 101-120
  14. Elshad Karimov
    Pages 121-132
  15. Elshad Karimov
    Pages 133-153
  16. Elshad Karimov
    Pages 155-161
  17. Elshad Karimov
    Pages 163-194
  18. Elshad Karimov
    Pages 195-201
  19. Back Matter
    Pages 203-208

About this book


Control the performance and stability of the apps you develop in Swift by working with and understanding advanced concepts in data structures and algorithms. 

​All professional developers have to know which data structure and algorithms to use in their development process. Your choice directly affects the performance of your application. With this book, you’ll increase the performance of your software, become a better developer, and even pass tricky interview questions better when looking at professional development opportunities. 

Guided by compact and practical chapters, you'll learn the nature and proper use of data structures such as arrays, dictionaries, sets, stacks, queues, lists, hash tables, trie, heaps, binary trees, red black trees, and R-trees. Use the main differences among them to determine which will make your applications efficient and faster. Then tackle algorithms. Work with Big O notation; sorting algorithms such as Insertion, Merge, and Quick; Naive and Rabin Karp algorithms; and Graph Algorithms. 

Data Structures and Algorithms in Swift encourages you to further and understand how to best choose the perfect algorithm for your application’s needs. 

You will:

  • Retrieve, add, and remove elements in arrays
  • Implement stacks, queues, and lists in your apps
  • Sort algorithms and choose the best ones for your apps


Data structure Swift algorithm array set dictionary dictionaries stack in swift queue in swift

Authors and affiliations

  1. 1.New YorkUSA

About the authors

Elshad Karimov is an experienced programmer with a solid background in iOS development as well as Oracle, SQL, C#, Java, and HTML/CSS. He's familiar with the performance limits and characteristics of Swift and the nature and function of embedded databases and system datastores.

Bibliographic information

  • Book Title Data Structures and Algorithms in Swift
  • Book Subtitle Implement Stacks, Queues, Dictionaries, and Lists in Your Apps
  • Authors Elshad Karimov
  • DOI
  • Copyright Information Elshad Karimov 2020
  • Publisher Name Apress, Berkeley, CA
  • eBook Packages Professional and Applied Computing Professional and Applied Computing (R0)
  • Softcover ISBN 978-1-4842-5768-5
  • eBook ISBN 978-1-4842-5769-2
  • Edition Number 1
  • Number of Pages XIII, 208
  • Number of Illustrations 95 b/w illustrations, 0 illustrations in colour
  • Topics Apple and iOS
  • Buy this book on publisher's site