Check if a string 'a' is a subsequence of another string 'b'.
{ "a": "AXY", "b": "ADXCPY" }
true
{ "a": "axc", "b": "ahbgdc" }
false
{ "a": "gksrek", "b": "geeksforgeeks" }
Sign in to Run Code and Submit