Points sit at x = 0, 1, 2, …; count the groups of exactly K consecutive points whose heights strictly increase.
Points sit at x = 0, 1, 2, …; count the groups of exactly K consecutive points whose heights strictly increase.
Opens with the full question.