Arithmetic Slices II
Count arithmetic subsequences of at least three indices, where consecutive gaps are equal. The visual tracks, for each endpoint and common difference, how many shorter subsequences the current value can extend.
Count arithmetic subsequences of at least three indices, where consecutive gaps are equal. The visual tracks, for each endpoint and common difference, how many shorter subsequences the current value can extend.