Wednesday 1PM Quiz Question

Here is the Wednesday 1PM Quiz 5 QuestionNOTE: the bound on j should be “< i” rather than less-than-or-equal. That’s corrected on Friday’s full assignment release. You should also feel free to assume you have a function IsPow2(x) that determines whether an integer is a power of 2. (Otherwise, you could use logs and rounding or assumptions about reasonable binary representations if you like.)

Spam prevention powered by Akismet