Available question text
Return the number of odd integers in the inclusive interval [low, high]. The solution is a constant-time arithmetic count (no enumeration), suitable for large bounds up to 10^9.
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
Google
Leetcode 1523. Count Odd Numbers in an Interval Range
Reported Sep 5, 2024 · 1 source report
JUNIOR
Source snapshot: Nov 12, 2026
View source