© Luciano Manelli 2020Luciano ManelliIntroducing Algorithms in Chttps://doi.org/10.1007/978-1-4842-5623-7_1
1. Data Structures
The study of algorithms is connected to data structures. A data structure is a way to store data to facilitate organization and modifications. Every data structure is used for a specific purpose, so it is important to know the characteristics of several of them so you can choose the data structures that are appropriate for the operations performed by an algorithm.
A variable represents a memory location that stores an assigned value. Each variable is associated with a data type and stores one or some values. Variables can change their value during program execution, ...