Skip to content

Commit

Permalink
sublist: contiguous sub-sequence (#2484)
Browse files Browse the repository at this point in the history
Update sublist description, replacing `sub-sequence`
with `contiguous sub-sequence`

http://forum.exercism.org/t/sublist-make-instructions-more-precise/12111
  • Loading branch information
keiravillekode authored Oct 22, 2024
1 parent b375bc3 commit a0679b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions exercises/sublist/description.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ Given any two lists `A` and `B`, determine if:
- None of the above is true, thus lists `A` and `B` are unequal

Specifically, list `A` is equal to list `B` if both lists have the same values in the same order.
List `A` is a superlist of `B` if `A` contains a sub-sequence of values equal to `B`.
List `A` is a sublist of `B` if `B` contains a sub-sequence of values equal to `A`.
List `A` is a superlist of `B` if `A` contains a contiguous sub-sequence of values equal to `B`.
List `A` is a sublist of `B` if `B` contains a contiguous sub-sequence of values equal to `A`.

Examples:

Expand Down

0 comments on commit a0679b3

Please sign in to comment.