Available question text
Given a "hh:mm" string with some digits replaced by '?', count how many valid times can be formed by substituting each '?' with 0–9 under the constraints 00–23 for hours and 00–59 for minutes. The core challenge is computing the number of valid digit choices (product of independent choices for minutes and constrained choices for hour digits, where the first hour digit depends on the second).
Related questions
Continue with questions that share topics or the same question type.
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 2437. Number of Valid Clock Times
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source