LeetCode
Question
·
Mar 2020
Facebook | Phone | Shortest string that is not a subsequence of a given string
18 upvotes
4,598 views
10 replies
Question Details
I was asked this in phone screen for Facebook. Could solve it only by bruteforce/backtracking. Is there any efficient solution to this? Problem: Given a binary string S, one has...
Full Details
🔒
Unlock full leaked content
Full insider details, leaked discussions, and candidate experiences.
Get Premium →Topics
Backtracking
Recursion
Strings
More from Meta
Reddit
Leetcode is cooked in 2026 and we don't hire people who only grind leetcode.
Reddit
Returning to SWE work after 3 years of cancer treatment
Reddit
2026 New Grad Recap
Reddit
Most likely failed meta phone screen
Reddit
Targeting OpenAI SWE Roles? Insights on what to expect from recent system design loops