392 Is Subsequence LeetCode (Google Interview Question) JavaScript

Опубликовано: 12 Октябрь 2024
на канале: dev alex
2,394
80

392 Is Subsequence LeetCode (Google Interview Question) JavaScript

https://leetcode.com/problems/is-subs...

"Given two strings s and t, return true if s is a subsequence of t, or false otherwise.
A subsequence of a string is a new string that is formed from the original string by deleting some (can be none) of the characters without disturbing the relative positions of the remaining characters. (i.e., "ace" is a subsequence of "abcde" while "aec" is not)."

Final code:
https://replit.com/@AliaksandrMalko/3...

Gear I use:
1) Blue Yeti microphone - https://amzn.to/3ys9Te2
2) Logitech HD Pro Webcam C920 - https://amzn.to/3kuntZw
3) Monitor - https://amzn.to/3ynjJhe
4) Ipad - https://amzn.to/3BjoQAZ