C program to check subsequence
C program to check Subsequence; don't confuse it with substring. In our program, we check if a string is a subsequence of another.
A user will input two strings, and we test if one of them is a subsequence of the other. The program prints yes if either the first string is a subsequence of the second string or the second string is a subsequence of the first string. We pass smaller length string first because our function assumes the first string is of smaller or equal length than the second string.
tree
Input second string
Computer science is awesome
YES