什么是连续的子序列的定义是什么意思?序列、定义

2023-09-11 04:01:30 作者:不美不萌照樣拽

我不明白一个连续子的定义如下:

I don't understand the following definition of a contiguous subsequence:

列表S的连续子序列是由S的连续元素

A contiguous subsequence of a list S is a subsequence made up of consecutive elements of S.

如果S是 {5,15,-30,10,-5,40,10}   那么 15,-30,10 是一个连续的序列。

If S is {5, 15, -30, 10, -5, 40, 10} then 15, -30, 10 is a contiguous subsequence.

是什么让 15,-30,10 A连续子?

推荐答案

该表单的一个子集是彼此相邻的集内。

The form a subset that are next to each other within the set.

con·tig·u·ous/kənˈtigyo͞oəs/Adjective
1. Sharing a common border; touching.
2. Next or together in sequence.