925. Long Pressed Name
https://leetcode.com/problems/long-pressed-name/
Input: name = "alex", typed = "aaleex"
Output: true
Explanation: 'a' and 'e' in 'alex' were long pressed.Input: name = "saeed", typed = "ssaaedd"
Output: false
Explanation: 'e' must have been pressed twice, but it wasn't in the typed output.Input: name = "leelee", typed = "lleeelee"
Output: trueInput: name = "laiden", typed = "laiden"
Output: true
Explanation: It's not necessary to long press any character.Last updated