Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis+ 1
How to different subsequence and substring
subsequence and substring both of them similar or not (these operator about java code string )
1 Resposta
+ 5
A subsequence is part of the string that does not appear in chronological order.
Example:
āāā ā
string = "Sweet potato"
subseq = "weep"
A substring is a part of the string that appears in chronological order.
Example:
āāā
string = "Sweet potato"
subseq = "pot"
Hth, cmiiw