Topic: Array Problem / Level: intermediate

Problem: Given an array of n distinct integers, check if it is possible to reorder it to form an arithmetic progression.

Run the code to see the output here...