It’s especially easy to cheat on a course like this because it’s also offered to the general public via the edx platform, which means there are literally tens of solutions for each problem posted online. And the fact that it’s a CS course means that there aren’t too many permutations in the way you can solve each problem.
Of course, why Harvard undergrads would endeavor to do is a wholly different concern, and a troubling one.