" "


Data Structures & Algorithms in Swift (4th Edition): Data Structures & Algorithms in Swift (4th Edition)
: Kelvin Lau, Vincent Ngo
: Razeware LLC
: 2021
: 426
: pdf (true), epub
: 30.6 MB

Understanding how data structures and algorithms work in code is crucial for creating efficient and scalable apps and acing job interviews. Swifts standard library and, more recently, the Swift Collections and Algorithms packages contain a robust set of general-purpose collection types and algorithms, yet they dont cover every case!

In Data Structures and Algorithms in Swift, youll 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. The high-level expressiveness of Swift makes it an ideal choice for learning these core concepts without sacrificing performance.

Youll start with the fundamental structures of linked lists, queues and stacks, and see how to implement them in a highly Swift-like way. Move on to working with various types of trees, including general purpose trees, binary trees, AVL trees, binary search trees, and tries. 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 graphs to represent many real-world models. Traverse those graphs and trees efficiently with breadth-first, depth-first, Dijkstras and Prims algorithms to solve problems such as finding the shortest path or lowest cost in a network.

By the end of this book, youll have hands-on experience solving common issues with data structures and algorithms and youll be well on your way to developing your own efficient and useful implementations!

Data Structures & Algorithms in Swift (4th Edition)


: Ingvar16 16-09-2021, 18:21 | |
, .


, , .

 MirKnig.Su  2021