925. Long Pressed Name
·
Algorithm
Long Pressed Name - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com 입력하고자 하는 문자열 name과 name을 입력하려고 했는데 일부 문자가 여러 번 눌린 문자 typed가 주어진다. typed에서 여러 번 눌린 문자를 제거했을 때 name으로 변환이 가능한지 판단하는 문제다. 예시 Input: name = "alex", typed = "aaleex" Output: true Explanation: 'a' and 'e' in 'alex' were ..