Prompt is ambiguous, take for instance the input [3,4,5,6,7]. On one reading of the prompt this array contains one sequence that includes each number once i.e. [3,4,5,6,7]. On another reading this array contains six sequences that fit the requirements, [3,4,5], [4,5,6], [5,6,7], [3,4,5,6], [4,5,6,7], and [3,4,5,6,7]. A method that solves for the first version of the prompt will get the same answer as a method that solves for the second version of the prompt only when the input contains no sequences longer than 3.
Prompt is ambiguous, take for instance the input [3,4,5,6,7]. On one reading of the prompt this array contains one sequence that includes each number once i.e. [3,4,5,6,7]. On another reading this array contains six sequences that fit the requirements, [3,4,5], [4,5,6], [5,6,7], [3,4,5,6], [4,5,6,7], and [3,4,5,6,7]. A method that solves for the first version of the prompt will get the same answer as a method that solves for the second version of the prompt only when the input contains no sequences longer than 3.