low
가 홀수인지 확인high
까지 2씩 증가하며 순회function countOdds(low: number, high: number): number {
let count = 0
const isLowOdd = (low & 1) === 1
const startNum = isLowOdd ? low : low + 1
for(let i = startNum; i <= high; i += 2) count++
return count
};