Split a Sequence into Related Parts

Idea · Beginner

Problem Solving

Split a sequence into parts where the terms are related.