THALES GROUP Hiring | Online Assessment Interview Question | On-Campus OA (2023)
Question · Posted Jun 2026
Q1: Count Odd Numbers in an Interval Range Problem Statement Given two non-negative integers low and high, return the number of odd numbers between low and high (inclusive). Example Input low = 3 high = 7 Output 3 Explanation The odd numbers are: 3, 5, 7 Total = 3 Constraints 0 <= low <= high <= 10^9
The full answer & interview discussion are available to premium members.
Log in Create a free account