Swift Data Structures

Introduction

Why Data Structures?

Data structures are containers that hold data used in our programs. The efficiency of these data structures affects our software as a whole. Therefore, we must understand the structures available for us to use and that we choose the correct ones for our various tasks.

Structure

In this tutorial, we’re going to talk about generics and the built-in Swift collection types. Then, we’ll take a look at some of the most popular data structures and how they can be implemented in Swift.