You are given two strings name and typed.
A friend attempted to type their name into a keyboard. During the typing process, some keys may have been long pressed, causing a character to be recorded
Return true if typed could represent name with some characters (possibly none) being long pressed. Otherwise, return false.
Constraints:
name.length, typed.length
name and typed consist of only lowercase English letters.
You are given two strings name and typed.
A friend attempted to type their name into a keyboard. During the typing process, some keys may have been long pressed, causing a character to be recorded
Return true if typed could represent name with some characters (possibly none) being long pressed. Otherwise, return false.
Constraints:
name.length, typed.length
name and typed consist of only lowercase English letters.