Facebook | Onsite | Candy Crush 1D
Difficulty: MEDIUMCategory: InterviewExperienceFrequency: 1Asked On 2020-04-22Added By Anonymous
Source: Link
Company: Meta (Facebook)
Role: e3, e4
Interview Stage: Onsite
Location: unknown
Year: unknown
Original Post Content:
Question:
Asked the problem to remove duplicate characters in string, something similar to https://leetcode.com/problems/remove-all-adjacent-duplicates-in-string/
Follow-up:
Candy Crush 1D
Any idea how it can be done, similar problems on leetcode specify some number of characters k that can be removed.