a sequence number call arithmetic progression difference consecutive element sameGiven array number arr return true array rearrange form arithmetic progression otherwise return false Example 1input arr 351output trueexplanation we reorder element 135 531 difference 2 2 respectively consecutive elementsExample 2input arr 124output falseexplanation there way reorder element obtain arithmetic progression constraints2 arrlength 1000106 arri 106