Skip to content

This algorithm that takes one argument, an array and check if the array passed as an argument is arithmetic, geometric, neither arithmetic nor geometric in progression or if the array is empty. For arithmetic progressions, return Arithmetic For geometric progressions, return Geometric For neither of the above, return -1 For an empty array, retur…

Notifications You must be signed in to change notification settings

sammychris/AritGeo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AritGeo

This algorithm that takes one argument, an array and check if the array passed as an argument is arithmetic, geometric, neither arithmetic nor geometric in progression or if the array is empty. For arithmetic progressions, return Arithmetic For geometric progressions, return Geometric For neither of the above, return -1 For an empty array, return 0.

About

This algorithm that takes one argument, an array and check if the array passed as an argument is arithmetic, geometric, neither arithmetic nor geometric in progression or if the array is empty. For arithmetic progressions, return Arithmetic For geometric progressions, return Geometric For neither of the above, return -1 For an empty array, retur…

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published