I'm not sure where the three hour thing is coming from. During my tenure, we gave candidates one hour.
> I forget how much time they gave for it. Let’s say three hours, counting the time to explain the problem.
If you search the rest of the comments here for "three hour" there's quite a few people jumping on that rather than just accepting it as "eh, I don't remember so I'll just throw something out there".