This commit is contained in:
2025-07-18 22:37:04 +08:00
parent 6df3e30818
commit f54c320ebf
3 changed files with 88 additions and 0 deletions

10
src/392.c Normal file
View File

@@ -0,0 +1,10 @@
#include <solution/392.h>
bool isSubsequence(char *s, char *t)
{
for (; *s && *t; t++)
if (*s == *t)
s++;
return !*s;
}