Reddit Question · 2023 Q2

Got this problem in Online Assessment which I could not solve. How would you approach it?

41 upvotes 53 replies

Question Details

The problem sounds simple. Given a string **str**. You are allowed to delete only some contiguous characters if all the characters are the same in a s…

Full Details

🔒

Unlock full leaked content

Full insider details, leaked discussions, and candidate experiences.

Get Premium →

Topics

Strings Dynamic Programming