Valid Parentheses, With Other Characters Mixed In (LC 20)
Also reported as LeetCode 20
Phone ScreenBloombergLast reported December 2025Low Frequency
Reported
3× across candidate reports
First seen
November 2025
Last reported
December 2025
Reported outcome
unknown
Problem Overview
Bloomberg phone-screen question, reconstructed from 3 candidate reports (November 2025 to December 2025). Candidates reported 1 follow-up. The write-up includes a Python solution that passes 6 test cases.
1 candidate-reported follow-up — the probes candidates report being asked, with the trigger for each
The full problem statement — full requirements, constraints, and edge cases
Approach and trade-offs — what passing candidates did, and the mistakes that sink people
Unlock the full Bloomberg catalog
Full problem statements, candidate-reported follow-ups, and walkthroughs — for every Bloomberg question.