Check If a String Can Break Another String
Given two strings s1 and s2, return true if and only if s1 can break s2.
A string s1 can break s2 if every letter in s1, and only in s1, occurs in s2, and the relative order of letters in s1 is the same as in s2.
Ada AI
I want to discuss a solution
Help me solve this
Give more examples
What's wrong with my code?
How to use 'for loop' in javascript?
javascript (node 13.12.0)