
Write a program that determines whether every character of the first argument appears, in the same relative order, somewhere inside the second argument.
./subseq_check "run" "r0u1n2time"Expected result
yes
For your own tracking. Tests grade your code.
./subseq_check "build" "bludI"Expected result
no
./subseq_checkExpected result
wrong number of arguments
Expected files
subseq_check.cAllowed functions
write
v0.40: Create exercises. Challenge the community.
Meet Studio →Write a program that determines whether every character of the first argument appears, in the same relative order, somewhere inside the second argument.
./subseq_check "run" "r0u1n2time"Expected result
yes
For your own tracking. Tests grade your code.
./subseq_check "build" "bludI"Expected result
no
./subseq_checkExpected result
wrong number of arguments
Expected files
subseq_check.cAllowed functions
write
Run the tests to grade your code
Build your code, then check each test here. Open a result to inspect its output.