HF RL Explorer

Longest Equally-Spaced Subsequence

Longest Equally-Spaced Subsequence: a task in Terminal-Lego-15k (Harbor dataset). You are given a sorted list of integers and need to find the longest subsequence where the difference between consecutive pairs is equal (i.e., an arithmetic progression).

The task

You are given a sorted list of integers and need to find the longest subsequence where the difference between consecutive pairs is equal (i.e., an arithmetic progression).

Part of PrimeIntellect/Terminal-Lego-15k.