Validating Magical Binary Strings with RegEx (NG)
Asked at Wayfair · Coding Questions · Difficulty: Medium · Last asked Jul 15, 2026
We consider a binary string (i.e., a string consisting of 0s and 1s) to be **magical** if it satisfies the following constraints:
Loading the problem…
More Wayfair interview questions
- Implement a Multi-Armed Bandit Policy (Coding)
- Implement Observer Pattern in JavaScript
- Smash The Bricks(NG)
- SQL Join Employee Salaries and Average Department Salary with Window Functions
- Number of Divisible Substrings (For MLE)
- DFS Subsequences of a String (For MLE)