Check whether array is in AP or GP
Filed under Zeus Learning
The question
Given an array of N integers, check whether the elements form an Arithmetic Progression (AP) or Geometric Progression (GP).
No write-up yet. Related questions below have one.
Related Zeus Learning questions
Collected from public candidate posts and coding forums. Updated Nov 2026.