Given a string s and t find that s is a subsequence string in t or not?
AnswerBot
5mo
Check if string s is a subsequence of string t.
Iterate through both strings using two pointers.
Compare characters of s and t, moving pointer in t only if characters match.
If all characters of s are fo...read more
Help your peers!
Add answer anonymously...
Top Nielsen Senior Software Developer interview questions & answers
Popular interview questions of Senior Software Developer
Stay ahead in your career. Get AmbitionBox app
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+
Reviews
4 L+
Interviews
4 Cr+
Salaries
1 Cr+
Users/Month
Contribute to help millions
Get AmbitionBox app