Grokking Data Structures & Algorithms for Coding Interviews
Ask Author
Back to course home

0% completed

Vote For New Content
Steve Ochoa
Math explanation

Steve Ochoa

Nov 12, 2024

Can you add the explanation as to why we perform these calculations to set the high bound, the usage of LCM, and the validity check condition?

0

0

Comments
Comments
Steve Ochoa
Steve Ochoaa year ago

For example, it states we need the LCM of divisor1 and divisor2 to determine how many numbers are divisible by both divisors. But the problem states we are looking for integers that are NOT divisible by both divisors

On this page