From c4b0e9e757ea36d93437efbb7c3ff62fe324f4c6 Mon Sep 17 00:00:00 2001 From: Divlo Date: Sat, 23 Apr 2022 21:47:58 +0200 Subject: [PATCH] feat(challenges): add `is-valid-array-subsequence` --- challenges/cakes-swerc-2020-2021/README.md | 2 +- .../is-valid-array-subsequence/README.md | 52 +++++++++++++++++++ .../solutions/.gitkeep | 0 .../test/1/input.txt | 2 + .../test/1/output.txt | 1 + .../test/10/input.txt | 2 + .../test/10/output.txt | 1 + .../test/11/input.txt | 2 + .../test/11/output.txt | 1 + .../test/12/input.txt | 2 + .../test/12/output.txt | 1 + .../test/13/input.txt | 2 + .../test/13/output.txt | 1 + .../test/14/input.txt | 2 + .../test/14/output.txt | 1 + .../test/15/input.txt | 2 + .../test/15/output.txt | 1 + .../test/16/input.txt | 2 + .../test/16/output.txt | 1 + .../test/17/input.txt | 2 + .../test/17/output.txt | 1 + .../test/18/input.txt | 2 + .../test/18/output.txt | 1 + .../test/19/input.txt | 2 + .../test/19/output.txt | 1 + .../test/2/input.txt | 2 + .../test/2/output.txt | 1 + .../test/20/input.txt | 2 + .../test/20/output.txt | 1 + .../test/21/input.txt | 2 + .../test/21/output.txt | 1 + .../test/22/input.txt | 2 + .../test/22/output.txt | 1 + .../test/23/input.txt | 2 + .../test/23/output.txt | 1 + .../test/24/input.txt | 2 + .../test/24/output.txt | 1 + .../test/3/input.txt | 2 + .../test/3/output.txt | 1 + .../test/4/input.txt | 2 + .../test/4/output.txt | 1 + .../test/5/input.txt | 2 + .../test/5/output.txt | 1 + .../test/6/input.txt | 2 + .../test/6/output.txt | 1 + .../test/7/input.txt | 2 + .../test/7/output.txt | 1 + .../test/8/input.txt | 2 + .../test/8/output.txt | 1 + .../test/9/input.txt | 2 + .../test/9/output.txt | 1 + 51 files changed, 125 insertions(+), 1 deletion(-) create mode 100644 challenges/is-valid-array-subsequence/README.md create mode 100644 challenges/is-valid-array-subsequence/solutions/.gitkeep create mode 100644 challenges/is-valid-array-subsequence/test/1/input.txt create mode 100644 challenges/is-valid-array-subsequence/test/1/output.txt create mode 100644 challenges/is-valid-array-subsequence/test/10/input.txt create mode 100644 challenges/is-valid-array-subsequence/test/10/output.txt create mode 100644 challenges/is-valid-array-subsequence/test/11/input.txt create mode 100644 challenges/is-valid-array-subsequence/test/11/output.txt create mode 100644 challenges/is-valid-array-subsequence/test/12/input.txt create mode 100644 challenges/is-valid-array-subsequence/test/12/output.txt create mode 100644 challenges/is-valid-array-subsequence/test/13/input.txt create mode 100644 challenges/is-valid-array-subsequence/test/13/output.txt create mode 100644 challenges/is-valid-array-subsequence/test/14/input.txt create mode 100644 challenges/is-valid-array-subsequence/test/14/output.txt create mode 100644 challenges/is-valid-array-subsequence/test/15/input.txt create mode 100644 challenges/is-valid-array-subsequence/test/15/output.txt create mode 100644 challenges/is-valid-array-subsequence/test/16/input.txt create mode 100644 challenges/is-valid-array-subsequence/test/16/output.txt create mode 100644 challenges/is-valid-array-subsequence/test/17/input.txt create mode 100644 challenges/is-valid-array-subsequence/test/17/output.txt create mode 100644 challenges/is-valid-array-subsequence/test/18/input.txt create mode 100644 challenges/is-valid-array-subsequence/test/18/output.txt create mode 100644 challenges/is-valid-array-subsequence/test/19/input.txt create mode 100644 challenges/is-valid-array-subsequence/test/19/output.txt create mode 100644 challenges/is-valid-array-subsequence/test/2/input.txt create mode 100644 challenges/is-valid-array-subsequence/test/2/output.txt create mode 100644 challenges/is-valid-array-subsequence/test/20/input.txt create mode 100644 challenges/is-valid-array-subsequence/test/20/output.txt create mode 100644 challenges/is-valid-array-subsequence/test/21/input.txt create mode 100644 challenges/is-valid-array-subsequence/test/21/output.txt create mode 100644 challenges/is-valid-array-subsequence/test/22/input.txt create mode 100644 challenges/is-valid-array-subsequence/test/22/output.txt create mode 100644 challenges/is-valid-array-subsequence/test/23/input.txt create mode 100644 challenges/is-valid-array-subsequence/test/23/output.txt create mode 100644 challenges/is-valid-array-subsequence/test/24/input.txt create mode 100644 challenges/is-valid-array-subsequence/test/24/output.txt create mode 100644 challenges/is-valid-array-subsequence/test/3/input.txt create mode 100644 challenges/is-valid-array-subsequence/test/3/output.txt create mode 100644 challenges/is-valid-array-subsequence/test/4/input.txt create mode 100644 challenges/is-valid-array-subsequence/test/4/output.txt create mode 100644 challenges/is-valid-array-subsequence/test/5/input.txt create mode 100644 challenges/is-valid-array-subsequence/test/5/output.txt create mode 100644 challenges/is-valid-array-subsequence/test/6/input.txt create mode 100644 challenges/is-valid-array-subsequence/test/6/output.txt create mode 100644 challenges/is-valid-array-subsequence/test/7/input.txt create mode 100644 challenges/is-valid-array-subsequence/test/7/output.txt create mode 100644 challenges/is-valid-array-subsequence/test/8/input.txt create mode 100644 challenges/is-valid-array-subsequence/test/8/output.txt create mode 100644 challenges/is-valid-array-subsequence/test/9/input.txt create mode 100644 challenges/is-valid-array-subsequence/test/9/output.txt diff --git a/challenges/cakes-swerc-2020-2021/README.md b/challenges/cakes-swerc-2020-2021/README.md index a7865b8..7d275bb 100644 --- a/challenges/cakes-swerc-2020-2021/README.md +++ b/challenges/cakes-swerc-2020-2021/README.md @@ -55,7 +55,7 @@ See the `test` folder for examples of input/output. 2 ``` -### Example 1 +### Example 2 #### Input diff --git a/challenges/is-valid-array-subsequence/README.md b/challenges/is-valid-array-subsequence/README.md new file mode 100644 index 0000000..b88f38b --- /dev/null +++ b/challenges/is-valid-array-subsequence/README.md @@ -0,0 +1,52 @@ +# is-valid-array-subsequence + +Created by [@Divlo](https://github.com/Divlo) on 23 April 2022. + +## Instructions + +Given two non-empty arrays of integers, write a function that determines whether the second array is a subsequence of the first one. + +A subsequence of an array is a set of numbers that aren't necessarily adjacent in the array but that are in the same order as they appear in the array. For instance, the numbers `[1, 3, 4]` form a subsequence of the array `[1, 2, 3, 4]`, and so do the numbers `[2, 4]`. Note that a single number in an array and the array itself are both valid subsequences of the array. + +### Input + +- **Line 1:** `array` Integers separated by spaces +- **Line 2:** `sequence` Integers separated by spaces + +### Output + +The output should return `true` if the `sequence` is a subsequence of `array` and `false` otherwise. + +## Examples + +See the `test` folder for examples of input/output. + +### Example 1 + +#### Input + +```txt +5 1 22 25 6 -1 8 10 +1 6 -1 10 +``` + +#### Output + +```txt +true +``` + +### Example 2 + +#### Input + +```txt +5 1 22 25 6 -1 8 10 +5 1 22 25 6 -1 8 10 12 +``` + +#### Output + +```txt +false +``` diff --git a/challenges/is-valid-array-subsequence/solutions/.gitkeep b/challenges/is-valid-array-subsequence/solutions/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/challenges/is-valid-array-subsequence/test/1/input.txt b/challenges/is-valid-array-subsequence/test/1/input.txt new file mode 100644 index 0000000..e737e3c --- /dev/null +++ b/challenges/is-valid-array-subsequence/test/1/input.txt @@ -0,0 +1,2 @@ +5 1 22 25 6 -1 8 10 +1 6 -1 10 \ No newline at end of file diff --git a/challenges/is-valid-array-subsequence/test/1/output.txt b/challenges/is-valid-array-subsequence/test/1/output.txt new file mode 100644 index 0000000..f32a580 --- /dev/null +++ b/challenges/is-valid-array-subsequence/test/1/output.txt @@ -0,0 +1 @@ +true \ No newline at end of file diff --git a/challenges/is-valid-array-subsequence/test/10/input.txt b/challenges/is-valid-array-subsequence/test/10/input.txt new file mode 100644 index 0000000..2e6a13e --- /dev/null +++ b/challenges/is-valid-array-subsequence/test/10/input.txt @@ -0,0 +1,2 @@ +5 1 22 25 6 -1 8 10 +5 1 22 25 6 -1 8 10 12 \ No newline at end of file diff --git a/challenges/is-valid-array-subsequence/test/10/output.txt b/challenges/is-valid-array-subsequence/test/10/output.txt new file mode 100644 index 0000000..02e4a84 --- /dev/null +++ b/challenges/is-valid-array-subsequence/test/10/output.txt @@ -0,0 +1 @@ +false \ No newline at end of file diff --git a/challenges/is-valid-array-subsequence/test/11/input.txt b/challenges/is-valid-array-subsequence/test/11/input.txt new file mode 100644 index 0000000..327ed4f --- /dev/null +++ b/challenges/is-valid-array-subsequence/test/11/input.txt @@ -0,0 +1,2 @@ +5 1 22 25 6 -1 8 10 +4 5 1 22 25 6 -1 8 10 \ No newline at end of file diff --git a/challenges/is-valid-array-subsequence/test/11/output.txt b/challenges/is-valid-array-subsequence/test/11/output.txt new file mode 100644 index 0000000..02e4a84 --- /dev/null +++ b/challenges/is-valid-array-subsequence/test/11/output.txt @@ -0,0 +1 @@ +false \ No newline at end of file diff --git a/challenges/is-valid-array-subsequence/test/12/input.txt b/challenges/is-valid-array-subsequence/test/12/input.txt new file mode 100644 index 0000000..49bcd23 --- /dev/null +++ b/challenges/is-valid-array-subsequence/test/12/input.txt @@ -0,0 +1,2 @@ +5 1 22 25 6 -1 8 10 +5 1 22 23 6 -1 8 10 \ No newline at end of file diff --git a/challenges/is-valid-array-subsequence/test/12/output.txt b/challenges/is-valid-array-subsequence/test/12/output.txt new file mode 100644 index 0000000..02e4a84 --- /dev/null +++ b/challenges/is-valid-array-subsequence/test/12/output.txt @@ -0,0 +1 @@ +false \ No newline at end of file diff --git a/challenges/is-valid-array-subsequence/test/13/input.txt b/challenges/is-valid-array-subsequence/test/13/input.txt new file mode 100644 index 0000000..e6c6c9b --- /dev/null +++ b/challenges/is-valid-array-subsequence/test/13/input.txt @@ -0,0 +1,2 @@ +5 1 22 25 6 -1 8 10 +5 1 22 22 25 6 -1 8 10 \ No newline at end of file diff --git a/challenges/is-valid-array-subsequence/test/13/output.txt b/challenges/is-valid-array-subsequence/test/13/output.txt new file mode 100644 index 0000000..02e4a84 --- /dev/null +++ b/challenges/is-valid-array-subsequence/test/13/output.txt @@ -0,0 +1 @@ +false \ No newline at end of file diff --git a/challenges/is-valid-array-subsequence/test/14/input.txt b/challenges/is-valid-array-subsequence/test/14/input.txt new file mode 100644 index 0000000..34a5f12 --- /dev/null +++ b/challenges/is-valid-array-subsequence/test/14/input.txt @@ -0,0 +1,2 @@ +5 1 22 25 6 -1 8 10 +5 1 22 22 6 -1 8 10 \ No newline at end of file diff --git a/challenges/is-valid-array-subsequence/test/14/output.txt b/challenges/is-valid-array-subsequence/test/14/output.txt new file mode 100644 index 0000000..02e4a84 --- /dev/null +++ b/challenges/is-valid-array-subsequence/test/14/output.txt @@ -0,0 +1 @@ +false \ No newline at end of file diff --git a/challenges/is-valid-array-subsequence/test/15/input.txt b/challenges/is-valid-array-subsequence/test/15/input.txt new file mode 100644 index 0000000..5974c55 --- /dev/null +++ b/challenges/is-valid-array-subsequence/test/15/input.txt @@ -0,0 +1,2 @@ +5 1 22 25 6 -1 8 10 +1 6 -1 -1 \ No newline at end of file diff --git a/challenges/is-valid-array-subsequence/test/15/output.txt b/challenges/is-valid-array-subsequence/test/15/output.txt new file mode 100644 index 0000000..02e4a84 --- /dev/null +++ b/challenges/is-valid-array-subsequence/test/15/output.txt @@ -0,0 +1 @@ +false \ No newline at end of file diff --git a/challenges/is-valid-array-subsequence/test/16/input.txt b/challenges/is-valid-array-subsequence/test/16/input.txt new file mode 100644 index 0000000..a412ec8 --- /dev/null +++ b/challenges/is-valid-array-subsequence/test/16/input.txt @@ -0,0 +1,2 @@ +5 1 22 25 6 -1 8 10 +1 6 -1 -1 10 \ No newline at end of file diff --git a/challenges/is-valid-array-subsequence/test/16/output.txt b/challenges/is-valid-array-subsequence/test/16/output.txt new file mode 100644 index 0000000..02e4a84 --- /dev/null +++ b/challenges/is-valid-array-subsequence/test/16/output.txt @@ -0,0 +1 @@ +false \ No newline at end of file diff --git a/challenges/is-valid-array-subsequence/test/17/input.txt b/challenges/is-valid-array-subsequence/test/17/input.txt new file mode 100644 index 0000000..6ee7b33 --- /dev/null +++ b/challenges/is-valid-array-subsequence/test/17/input.txt @@ -0,0 +1,2 @@ +5 1 22 25 6 -1 8 10 +1 6 -1 -2 \ No newline at end of file diff --git a/challenges/is-valid-array-subsequence/test/17/output.txt b/challenges/is-valid-array-subsequence/test/17/output.txt new file mode 100644 index 0000000..02e4a84 --- /dev/null +++ b/challenges/is-valid-array-subsequence/test/17/output.txt @@ -0,0 +1 @@ +false \ No newline at end of file diff --git a/challenges/is-valid-array-subsequence/test/18/input.txt b/challenges/is-valid-array-subsequence/test/18/input.txt new file mode 100644 index 0000000..dac806c --- /dev/null +++ b/challenges/is-valid-array-subsequence/test/18/input.txt @@ -0,0 +1,2 @@ +5 1 22 25 6 -1 8 10 +26 \ No newline at end of file diff --git a/challenges/is-valid-array-subsequence/test/18/output.txt b/challenges/is-valid-array-subsequence/test/18/output.txt new file mode 100644 index 0000000..02e4a84 --- /dev/null +++ b/challenges/is-valid-array-subsequence/test/18/output.txt @@ -0,0 +1 @@ +false \ No newline at end of file diff --git a/challenges/is-valid-array-subsequence/test/19/input.txt b/challenges/is-valid-array-subsequence/test/19/input.txt new file mode 100644 index 0000000..045fe03 --- /dev/null +++ b/challenges/is-valid-array-subsequence/test/19/input.txt @@ -0,0 +1,2 @@ +5 1 22 25 6 -1 8 10 +5 1 25 22 6 -1 8 10 \ No newline at end of file diff --git a/challenges/is-valid-array-subsequence/test/19/output.txt b/challenges/is-valid-array-subsequence/test/19/output.txt new file mode 100644 index 0000000..02e4a84 --- /dev/null +++ b/challenges/is-valid-array-subsequence/test/19/output.txt @@ -0,0 +1 @@ +false \ No newline at end of file diff --git a/challenges/is-valid-array-subsequence/test/2/input.txt b/challenges/is-valid-array-subsequence/test/2/input.txt new file mode 100644 index 0000000..6fcf9ce --- /dev/null +++ b/challenges/is-valid-array-subsequence/test/2/input.txt @@ -0,0 +1,2 @@ +5 1 22 25 6 -1 8 10 +5 1 22 25 6 -1 8 10 \ No newline at end of file diff --git a/challenges/is-valid-array-subsequence/test/2/output.txt b/challenges/is-valid-array-subsequence/test/2/output.txt new file mode 100644 index 0000000..f32a580 --- /dev/null +++ b/challenges/is-valid-array-subsequence/test/2/output.txt @@ -0,0 +1 @@ +true \ No newline at end of file diff --git a/challenges/is-valid-array-subsequence/test/20/input.txt b/challenges/is-valid-array-subsequence/test/20/input.txt new file mode 100644 index 0000000..38aece6 --- /dev/null +++ b/challenges/is-valid-array-subsequence/test/20/input.txt @@ -0,0 +1,2 @@ +5 1 22 25 6 -1 8 10 +5 26 22 8 \ No newline at end of file diff --git a/challenges/is-valid-array-subsequence/test/20/output.txt b/challenges/is-valid-array-subsequence/test/20/output.txt new file mode 100644 index 0000000..02e4a84 --- /dev/null +++ b/challenges/is-valid-array-subsequence/test/20/output.txt @@ -0,0 +1 @@ +false \ No newline at end of file diff --git a/challenges/is-valid-array-subsequence/test/21/input.txt b/challenges/is-valid-array-subsequence/test/21/input.txt new file mode 100644 index 0000000..be578c9 --- /dev/null +++ b/challenges/is-valid-array-subsequence/test/21/input.txt @@ -0,0 +1,2 @@ +1 1 6 1 +1 1 1 6 \ No newline at end of file diff --git a/challenges/is-valid-array-subsequence/test/21/output.txt b/challenges/is-valid-array-subsequence/test/21/output.txt new file mode 100644 index 0000000..02e4a84 --- /dev/null +++ b/challenges/is-valid-array-subsequence/test/21/output.txt @@ -0,0 +1 @@ +false \ No newline at end of file diff --git a/challenges/is-valid-array-subsequence/test/22/input.txt b/challenges/is-valid-array-subsequence/test/22/input.txt new file mode 100644 index 0000000..7abecb2 --- /dev/null +++ b/challenges/is-valid-array-subsequence/test/22/input.txt @@ -0,0 +1,2 @@ +5 1 22 25 6 -1 8 10 +1 6 -1 10 11 11 11 11 \ No newline at end of file diff --git a/challenges/is-valid-array-subsequence/test/22/output.txt b/challenges/is-valid-array-subsequence/test/22/output.txt new file mode 100644 index 0000000..02e4a84 --- /dev/null +++ b/challenges/is-valid-array-subsequence/test/22/output.txt @@ -0,0 +1 @@ +false \ No newline at end of file diff --git a/challenges/is-valid-array-subsequence/test/23/input.txt b/challenges/is-valid-array-subsequence/test/23/input.txt new file mode 100644 index 0000000..ed4945b --- /dev/null +++ b/challenges/is-valid-array-subsequence/test/23/input.txt @@ -0,0 +1,2 @@ +5 1 22 25 6 -1 8 10 +5 1 22 25 6 -1 8 10 10 \ No newline at end of file diff --git a/challenges/is-valid-array-subsequence/test/23/output.txt b/challenges/is-valid-array-subsequence/test/23/output.txt new file mode 100644 index 0000000..02e4a84 --- /dev/null +++ b/challenges/is-valid-array-subsequence/test/23/output.txt @@ -0,0 +1 @@ +false \ No newline at end of file diff --git a/challenges/is-valid-array-subsequence/test/24/input.txt b/challenges/is-valid-array-subsequence/test/24/input.txt new file mode 100644 index 0000000..7266238 --- /dev/null +++ b/challenges/is-valid-array-subsequence/test/24/input.txt @@ -0,0 +1,2 @@ +5 1 22 25 6 -1 8 10 +1 6 -1 5 \ No newline at end of file diff --git a/challenges/is-valid-array-subsequence/test/24/output.txt b/challenges/is-valid-array-subsequence/test/24/output.txt new file mode 100644 index 0000000..02e4a84 --- /dev/null +++ b/challenges/is-valid-array-subsequence/test/24/output.txt @@ -0,0 +1 @@ +false \ No newline at end of file diff --git a/challenges/is-valid-array-subsequence/test/3/input.txt b/challenges/is-valid-array-subsequence/test/3/input.txt new file mode 100644 index 0000000..db9f5f1 --- /dev/null +++ b/challenges/is-valid-array-subsequence/test/3/input.txt @@ -0,0 +1,2 @@ +5 1 22 25 6 -1 8 10 +5 1 22 6 -1 8 10 \ No newline at end of file diff --git a/challenges/is-valid-array-subsequence/test/3/output.txt b/challenges/is-valid-array-subsequence/test/3/output.txt new file mode 100644 index 0000000..f32a580 --- /dev/null +++ b/challenges/is-valid-array-subsequence/test/3/output.txt @@ -0,0 +1 @@ +true \ No newline at end of file diff --git a/challenges/is-valid-array-subsequence/test/4/input.txt b/challenges/is-valid-array-subsequence/test/4/input.txt new file mode 100644 index 0000000..10dac82 --- /dev/null +++ b/challenges/is-valid-array-subsequence/test/4/input.txt @@ -0,0 +1,2 @@ +5 1 22 25 6 -1 8 10 +22 25 6 \ No newline at end of file diff --git a/challenges/is-valid-array-subsequence/test/4/output.txt b/challenges/is-valid-array-subsequence/test/4/output.txt new file mode 100644 index 0000000..f32a580 --- /dev/null +++ b/challenges/is-valid-array-subsequence/test/4/output.txt @@ -0,0 +1 @@ +true \ No newline at end of file diff --git a/challenges/is-valid-array-subsequence/test/5/input.txt b/challenges/is-valid-array-subsequence/test/5/input.txt new file mode 100644 index 0000000..4dfe032 --- /dev/null +++ b/challenges/is-valid-array-subsequence/test/5/input.txt @@ -0,0 +1,2 @@ +5 1 22 25 6 -1 8 10 +1 6 10 \ No newline at end of file diff --git a/challenges/is-valid-array-subsequence/test/5/output.txt b/challenges/is-valid-array-subsequence/test/5/output.txt new file mode 100644 index 0000000..f32a580 --- /dev/null +++ b/challenges/is-valid-array-subsequence/test/5/output.txt @@ -0,0 +1 @@ +true \ No newline at end of file diff --git a/challenges/is-valid-array-subsequence/test/6/input.txt b/challenges/is-valid-array-subsequence/test/6/input.txt new file mode 100644 index 0000000..f69af2c --- /dev/null +++ b/challenges/is-valid-array-subsequence/test/6/input.txt @@ -0,0 +1,2 @@ +5 1 22 25 6 -1 8 10 +5 1 22 10 \ No newline at end of file diff --git a/challenges/is-valid-array-subsequence/test/6/output.txt b/challenges/is-valid-array-subsequence/test/6/output.txt new file mode 100644 index 0000000..f32a580 --- /dev/null +++ b/challenges/is-valid-array-subsequence/test/6/output.txt @@ -0,0 +1 @@ +true \ No newline at end of file diff --git a/challenges/is-valid-array-subsequence/test/7/input.txt b/challenges/is-valid-array-subsequence/test/7/input.txt new file mode 100644 index 0000000..5410f56 --- /dev/null +++ b/challenges/is-valid-array-subsequence/test/7/input.txt @@ -0,0 +1,2 @@ +5 1 22 25 6 -1 8 10 +5 -1 8 10 \ No newline at end of file diff --git a/challenges/is-valid-array-subsequence/test/7/output.txt b/challenges/is-valid-array-subsequence/test/7/output.txt new file mode 100644 index 0000000..f32a580 --- /dev/null +++ b/challenges/is-valid-array-subsequence/test/7/output.txt @@ -0,0 +1 @@ +true \ No newline at end of file diff --git a/challenges/is-valid-array-subsequence/test/8/input.txt b/challenges/is-valid-array-subsequence/test/8/input.txt new file mode 100644 index 0000000..c580035 --- /dev/null +++ b/challenges/is-valid-array-subsequence/test/8/input.txt @@ -0,0 +1,2 @@ +5 1 22 25 6 -1 8 10 +25 \ No newline at end of file diff --git a/challenges/is-valid-array-subsequence/test/8/output.txt b/challenges/is-valid-array-subsequence/test/8/output.txt new file mode 100644 index 0000000..f32a580 --- /dev/null +++ b/challenges/is-valid-array-subsequence/test/8/output.txt @@ -0,0 +1 @@ +true \ No newline at end of file diff --git a/challenges/is-valid-array-subsequence/test/9/input.txt b/challenges/is-valid-array-subsequence/test/9/input.txt new file mode 100644 index 0000000..00e14a0 --- /dev/null +++ b/challenges/is-valid-array-subsequence/test/9/input.txt @@ -0,0 +1,2 @@ +1 1 1 1 1 +1 1 1 \ No newline at end of file diff --git a/challenges/is-valid-array-subsequence/test/9/output.txt b/challenges/is-valid-array-subsequence/test/9/output.txt new file mode 100644 index 0000000..f32a580 --- /dev/null +++ b/challenges/is-valid-array-subsequence/test/9/output.txt @@ -0,0 +1 @@ +true \ No newline at end of file