LOKOAI Interview Online Assessment Question | On-Campus (2024)

Question · Posted Jun 2026

Problem: Count Odd Numbers in an Interval Range Given two non-negative integers low and high, return the count of odd numbers between low and high (inclusive). Example Input low = 3 high = 7 Output 3 Explanation Odd numbers in range: 3, 5, 7 Count: 3

The full answer & interview discussion are available to premium members.

Log in Create a free account