String subsequences

Medium

Given two strings, String A and String B, write a function returning whether or not String A is a subsequence of String B. For String A to be a subsequence of String B it must be able to be derived from it by deleting some number of elements (without changing the order of the elements)....

Sign in to InterviewQs to view this question

Or

New to InterviewQs? Sign up now.

By proceeding, you agree to our Terms and Conditions and Privacy Policy.

Loading editor...