👉 In computer science, a non-contiguous sequence is a sequence that has no consecutive elements. For example, the sequence [1, 2, 3] is non-contiguous because it does not have two consecutive elements between them. A sequence with one or more contiguous elements is called contiguous.