Data Structure and algorithm are two different things.
Data Structures:
A data structure is a storage mechanism designed to efficiently store and organize data in memory. Its purpose is to facilitate efficient data access, manipulation, and retrieval...