An integer array is called arithmetic if it consists of at least three elements and if the difference between any two consecutive elements is the same.
-
Updated
Mar 4, 2022 - C++
An integer array is called arithmetic if it consists of at least three elements and if the difference between any two consecutive elements is the same.
Add a description, image, and links to the arithmetic-slices topic page so that developers can more easily learn about it.
To associate your repository with the arithmetic-slices topic, visit your repo's landing page and select "manage topics."