Prompt
Given a binary string representing occupied (1) and free (0) urinals, return the maximum number of additional people who can use them. Rule: at least one urinal gap between users. Return -1 if the input already violates the rule (two adjacent 1s).
Hints
Solution
Your Code
10 min