Topic: Array Problem / Level: intermediate

Problem: Given an array, find the longest subsequence where the difference between consecutive elements is constant.

Run the code to see the output here...