Shortest Way to Form String

Problem overview from a real Pinterest interview:

A subsequence of a string is a new string formed from the original string by deleting some (possibly zero) characters without changing the relative order of the remaining characters.

Check more interview questions and experiences about Pinterest

Please log in to view interview details