LeetCode Question · Dec 2023 · Los Angeles

Amazon | OA | Erase Pairs

6 upvotes 1,508 views 9 replies

Question Details

You are given a string S. In one move you can erase from S a pair of identical letters. Find the shortest possible string that can be created this way....

Full Details

🔒

Unlock full leaked content

Full insider details, leaked discussions, and candidate experiences.

Get Premium →

Topics

Strings