Photo by Markus Spiske on Unsplash

This article will be the first of my series on data structures and algorithms, focusing on one of the most popular algorithms, reserve string algorithm.

Before we go ahead, let us find the meaning of data structure, algorithm, data values and other things that will be needed for us to understand the rest of the article.

According to Wegner, Peter; Reilly, Edwin D. (2003–08–29) in their book Encyclopedia of Computer Science, pages 507–512, a data structure is a collection of data values, the relationships among them, and the functions or operations that can be applied to the data. An algorithm is a process or set of rules to be followed in calculations or other problem-solving operations, especially by a computer.

Programs have their own in-built ways of keeping data organized and working with data easily. Some of them are variables, conditionals, iterators, functions, scope, arrays and objects. Learn about them here.