Media.net interview question

Dsa problem. Longest subsequence in array which is a arithmetic progression. Standard do solution.